Storage Buckets allows sites the ability to create multiple buckets storage to organize their data, allowing user agents to delete each bucket independently of other buckets. Each storage bucket can store data associated with established storage APIs such as IndexedDB and CacheStorage.
Motivation
Currently, when there is storage pressure or the user has a low disk device, sites have no control over how their storage gets evicted during browser storage eviction. Today, there is only a binary choice to either persist or delete all the data stored by a site. Storage Buckets API will allow sites to partition data, manage quota, and set eviction prioritization so sites can specify which bucket to remove first during browser storage eviction.
Status in Chromium
Proposed (tracking bug)
Consensus & Standardization
Owners
Intent to Prototype url
Intent to Prototype threadLast updated on 2021-04-12