3 ms·
It shouldn't be super difficult to backup/restore your db from localstorage using a dataURL. https://hacks.mozilla.org/2012/02/saving-images-and-files-in-local
by hajile 9y ago
It shouldn't be super difficult to backup/restore your db from localstorage using a dataURL.
https://hacks.mozilla.org/2012/02/saving-images-and-files-in-localstorage/ https://hacks.mozilla.org/2012/02/saving-images-and-files-in...
- kbenson 9y agoAt that point, why wouldn't you just look for some SQL to LocalStorage API/shim, since it's bound to be faster than (and likely more stable with regard to page resets than) putting a full SQL engine in place that just serializes to a LocalStorage object anyway?