Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
javascript interface for HTML5 Storage with fallbacks and TTL support
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
demo.html
rls-cache.js

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 11

TODO/IDEAS
- configurable backends
- external backends?
Something went wrong with that request. Please try again.