standards-positions icon indicating copy to clipboard operation
standards-positions copied to clipboard

Storage Buckets

Open evanstade opened this issue 2 years ago • 2 comments

WebKittens

@annevk

Title of the spec

Storage Buckets

URL to the spec

https://wicg.github.io/storage-buckets/

URL to the spec's repository

https://github.com/WICG/storage-buckets

Issue Tracker URL

No response

Explainer URL

https://github.com/WICG/storage-buckets/blob/main/explainer.md

TAG Design Review URL

https://github.com/w3ctag/design-reviews/issues/562

Mozilla standards-positions issue URL

https://github.com/mozilla/standards-positions/issues/475

WebKit Bugzilla URL

No response

Radar URL

No response

Description

Implementation of storage shelf/bucket/bottle model in Storage Standard.

evanstade avatar May 01 '23 17:05 evanstade

I discussed this with some colleagues and at the moment we're not entirely convinced this feature is carrying its weight. From https://github.com/WICG/storage-buckets/issues/92 it does not seem like there is a lot of developer interest and per https://web.dev/persistent-storage/ eviction is already very rare. So building an entire system around optimizing for the rare case might be a bit much? Perhaps persistent storage is a good enough solution for that.

Offering expiration for storage makes sense though and is a feature we've seen demand for as well. But that cannot carry storage buckets on its own.

annevk avatar Jun 21 '23 14:06 annevk

Anecdotally, one use case I have in mind concerns JWTs. Currently, those are cached in client-side storage and manually cleared when the front-end detects a logout. If they were stored in a storage bucket, I would be able to use Clear-Site-Data to clear specifically the JWT bucket from the server-side.

Sora2455 avatar Feb 15 '24 01:02 Sora2455