The lscache library is a simple library that emulates memcache functions using HTML5 localStorage, so that you can store items with an expiration date. These demos show its current functionality - set, get, remove.

Set memcache entries (most with expiration of 2 minutes):
(Check "Storage->Local Storage" in Chrome Dev Tools to see them stored.)

Retrieve lscache entries:

Delete lscache entries and try to retrieve them: