-
Notifications
You must be signed in to change notification settings - Fork 4
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
Handle local storage quota errors better #488
Comments
Ideas:
|
Another future idea is to investigate https://javascript.info/indexeddb |
1 task
Overhauled in PR above |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we
setItem
, quota could be exceeded. At the very least, have a real error show up. Maybe auto-download the current file and instruct the user how to clear their cache. Or we could have an option to do that for them -- display the list of items in local storage, let them confirm and clear all to free up space.We could also consider gzipping before storing (with a runtime penalty)
The text was updated successfully, but these errors were encountered: