Skip to content

Proposal: Increase maximum item size in Storage sync quotas #510

@erosman

Description

@erosman

Proposal: Increase maximum item size in Storage sync quotas

There is already a discussions on increasing the "Maximum total size" from 100KB to 1MB in Discuss limits applied to storage.local and storage.sync API.

This proposal concentrates on the "Maximum item size", as also mentioned in #351 (comment).

Storage quotas for sync data

  • Maximum total size 102,400 bytes (100KB)
  • Maximum item size 8,192 bytes (8KB)
  • Maximum number of items 512

Test Case

Syncing the following example would be within the "Maximum total size" allowed, however it fails due to the "Maximum item size".

The options are:

  • Giving up on storage sync
  • Breaking the large value into smaller values and recompile the data at the sync target
    (which adds undesired complexity to the operation and onChanged event)
{
  "a": "... 1kb data ...",
  "b": "... 1kb data ...",
  "c": "... 50kb data ..."
}

Proposal

Increase the "Maximum item size" to the maximum possible under the "Maximum total size"

See also

Metadata

Metadata

Assignees

No one assigned

    Labels

    follow-up: chromeNeeds a response from a Chrome representativetopic: storageIssues related to persisting data. Topics include browser.storage, web storage, and new APIs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions