4 ms·
Nice! Also relevant: localStorage wrapper for all browsers without using cookies or flash. https://github.com/marcuswestin/store.js https://github.com/marcuswes
by marcuswestin 15y ago
Nice! Also relevant: localStorage wrapper for all browsers without using cookies or flash. https://github.com/marcuswestin/store.js https://github.com/marcuswestin/store.js
Perhaps worth using under the hood for locache?
- tbsdy 15y agoThis looks interesting... It appears that there is an abstraction and you could easily swap out the localStorage parts with your js goodness!
- d0ugal 15y agoThat's neat. locache has a simple wrapepr around localStorage - the "locache.storage" object, so it would be easy to add an extra layer that supports other browsers. I had considered this already, but not had the need yet. There is an implementation in the Mozilla docs to mimic the localStorage API but store the data in cookies.