4 ms·
Amplify.js has a caching store that supports localStorage and more, abstracting away the actual storage mechanism.. http://amplifyjs.com/api/store/ http://ampl
by sbarre 15y ago
Amplify.js has a caching store that supports localStorage and more, abstracting away the actual storage mechanism..
http://amplifyjs.com/api/store/ http://amplifyjs.com/api/store/
- d0ugal 15y agoneat - thanks. I'll check this out, I hadn't found many options when I originally looked.
- iambot 15y agoLawn chair is also a good wrapper for localStorage with plenty different adapters: http://westcoastlogic.com/lawnchair/ http://westcoastlogic.com/lawnchair/
- subliminalbrad 15y agoI've been using Amplify.store for some time now, and I would highly recommend it. It uses localstorage where possible, but it also includes a lot of sensible fallbacks including browser-specific strategies. It also allows you to add your own strategies if you wish.
- polynomial 15y agoThat's actually what I thought this post was going to be about.