Skip to content
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

consider using indexed db instead of localstorage #1331

Open
ichub opened this issue Dec 7, 2023 · 1 comment
Open

consider using indexed db instead of localstorage #1331

ichub opened this issue Dec 7, 2023 · 1 comment

Comments

@ichub
Copy link
Contributor

ichub commented Dec 7, 2023

No description provided.

@robknight
Copy link
Member

IndexedDB has a much larger maximum size than localstorage, so we should check that we have not made assumptions about the maximum size of the local DB for the purposes of sync/export which would be broken by this change, e.g. max HTTP upload sizes. The current export mechanism relies on data URLs, which have a maximum size of 20MB - larger than the local storage max, but smaller than would be possible with indexeddb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants