-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bookmarks data too large for localStorage #20
Comments
Don't be sorry @joeytwiddle, your efforts are definitely appreciated! Yes this is definitely a limitation that needs to be addressed, |
Just a heads up, this should be slightly mitigated in v1.4.0 which now compresses the data before it is encrypted, typically reducing the size of the encrypted data by around 40-60%. As the bookmarks data is cached in local storage in encrypted form, you should be able to store far more bookmarks before hitting the local storage quota. 😄 |
This will be resolved by adding the |
Apologies, this is three different bugreports in three days!
Running the store extension on my Mac, I don't have any problem with corrupt bookmarks. But I do exceed storage capacity!
(I have around 14,900 bookmarks, 6MB when exported as HTML, and my own API server with the limit set to 100MB for testing!)
I have heard people recommending to avoid
localStorage
when possible, because it is synchronous and is has limits (around 2MB?) in some browsers.People recommend using something like IndexedDB instead (or ServiceWorkers Cache API). Although that's for front-end code, I'm not so sure about extensions.
The text was updated successfully, but these errors were encountered: