I just stumbled over http://pieroxy.net/blog/pages/lz-string/index.html and was wondering if we could use it as a quick drop-in improvement for handling more data in localStorage, until IndexedDB support is ready.
/cc @nilclass, @michielbdejong
I just stumbled over http://pieroxy.net/blog/pages/lz-string/index.html and was wondering if we could use it as a quick drop-in improvement for handling more data in localStorage, until IndexedDB support is ready.
/cc @nilclass, @michielbdejong
May be an option. The only downside I see now (apart from performance, which I haven’t tried) is that it becomes harder to inspect the current state through localStorage, see http://pieroxy.net/blog/pages/lz-string/index.html#inline_menu_7
The real gains would be achieved by compressing content values, so we could just leave everything else uncompressed, and at least gain a little more capacity, right?