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

Storage Buckets #181

Open
evanstade opened this issue May 1, 2023 · 2 comments
Open

Storage Buckets #181

evanstade opened this issue May 1, 2023 · 2 comments
Assignees
Labels
from: Google Proposed, edited, or co-edited by Google. topic: privacy topic: storage Spec relates to storage mechanisms such as cookies, IndexedDB, or LocalStorage venue: WHATWG Storage Workstream Proposal is being reviewed in the WHATWG Storage Workstream venue: WICG Proposal is incubated in the Web Incubator Community Group

Comments

@evanstade
Copy link

evanstade commented May 1, 2023

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

w3ctag/design-reviews#562

Mozilla standards-positions issue URL

mozilla/standards-positions#475

WebKit Bugzilla URL

No response

Radar URL

No response

Description

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

@hober hober added topic: privacy topic: storage Spec relates to storage mechanisms such as cookies, IndexedDB, or LocalStorage venue: WHATWG Storage Workstream Proposal is being reviewed in the WHATWG Storage Workstream labels May 1, 2023
@hober hober added the venue: WICG Proposal is incubated in the Web Incubator Community Group label May 1, 2023
@annevk annevk added the from: Google Proposed, edited, or co-edited by Google. label Jun 19, 2023
@annevk
Copy link
Contributor

annevk commented Jun 21, 2023

I discussed this with some colleagues and at the moment we're not entirely convinced this feature is carrying its weight. From WICG/storage-buckets#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.

@WebKit WebKit deleted a comment from fwadnjar Dec 23, 2023
@WebKit WebKit deleted a comment from fwadnjar Dec 23, 2023
@Sora2455
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
from: Google Proposed, edited, or co-edited by Google. topic: privacy topic: storage Spec relates to storage mechanisms such as cookies, IndexedDB, or LocalStorage venue: WHATWG Storage Workstream Proposal is being reviewed in the WHATWG Storage Workstream venue: WICG Proposal is incubated in the Web Incubator Community Group
Projects
Development

No branches or pull requests

6 participants