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

Increase storage capacity by striping data accross objects in sync storage #27

Open
psidex opened this issue Apr 7, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@psidex
Copy link
Owner

psidex commented Apr 7, 2023

Currently we can only store the settings as a compressed object that is under 8192 bytes in size.

This is because we are storing it in a single sync storage entry, but browsers allow for 512 entries, which are allowed to total 102400 bytes in size. Splitting the settings data up into multiple objects and striping it across these entries will allow us to use that whole allowance.

This library may be of use - https://github.com/dtuit/chrome-storage-largeSync.

@psidex psidex added the enhancement New feature or request label Apr 7, 2023
@psidex psidex self-assigned this Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant