Home

Add a comment

 

Re: Just released: lz-string

chrome.storage.local is storage API available to Chrome apps and extensions.

You can find documentation here: http://developer.chrome.com/apps/storage.html

Unlike localStorage, it's async. It's still limited to 5MB.

Good news is that I've managed to cut down my data to ~3.7M *characters* which,

using LZString compresses down to 10% (w00t). Bad news is, when I call

chrome.storage.local.getBytesInUse, returned number is ~2.5M *bytes* which,

if correct, suggests chrome.storage.local implementation doesn't just store what it

receives but transforms it somehow such that much of the compression magic gets

diffused. It could be that localStorage does the same.


Re: Just released: lz-string


Title
Body
HTML : b, strong, i, em, blockquote, br, p, pre, a href="", ul, ol, li, sub, sup
OpenID Login
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

Home