Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rrelmy/rls-cache
javascript interface for HTML5 Storage with fallbacks and TTL support
https://github.com/rrelmy/rls-cache
Last synced: about 1 month ago
JSON representation
javascript interface for HTML5 Storage with fallbacks and TTL support
- Host: GitHub
- URL: https://github.com/rrelmy/rls-cache
- Owner: rrelmy
- Created: 2011-10-10T02:58:06.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-11T12:22:08.000Z (about 13 years ago)
- Last Synced: 2023-03-13T08:05:38.824Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Rémy's LocalStorage Cache
JavaScript interface for HTML5 Storage with fallbacks
Methods:
RlsCache.set(key, value, ttl);
RlsCache.get(key);
RlsCache.remove(key);
RlsCache.clear();This script is provided as is without warranty!
Compatbility for Storage backend
- IE 8
- Firefox 3.5 (because of native JSON, with polyfill Firefox 2)
- Chrome 4
- Opera 10.50
- Safari 4
- iOS 4
- Android 2.1
- Opera Mobile 11TODO/IDEAS
- configurable backends
- external backends?