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

Dev interest in using Storage Buckets API #92

Open
evanstade opened this issue Apr 13, 2023 · 6 comments
Open

Dev interest in using Storage Buckets API #92

evanstade opened this issue Apr 13, 2023 · 6 comments

Comments

@evanstade
Copy link
Collaborator

Hi web developers,

We would like to gauge interest in using the Storage Buckets API, as best described in the developer blog.

If you are interested in potentially using this new API, please reply to this thread, including your affiliation to a company or organisation or app, if any.

We plan to open it up to origin trial soon, so bonus points if you are interested in trying it out early.

Thanks!

@carlopi
Copy link

carlopi commented Apr 14, 2023

I will be interested in experimenting with this.
Carlo Piovesan, DuckDB Labs, project is DuckDB-Wasm (https://github.com/duckdb/duckdb-wasm or https://shell.duckdb.org).

@ayuishii
Copy link
Collaborator

ayuishii commented Jun 7, 2023

Storage Buckets API is ready for Origin Trial on Chrome starting M115-118. You can try the feature out on your website by registering and using the token provided. We’d greatly appreciate any feedback on the API. Thanks!

Origin Trial Registration: https://developer.chrome.com/origintrials/#/view_trial/2674012278751232001

Local testing available from M110: chrome://flags/#storage-buckets

@tomayac
Copy link

tomayac commented Sep 16, 2023

See whatwg/fs#145 for a potential use case for Storage Buckets.

@asakusuma
Copy link
Contributor

We (LinkedIn) are interested in using buckets + Clear-Site-Data to allow us to cleanly and reliably evict a service worker and any associated persistent data, without also logging out the user and destroying other persistent data. The ability to use Clear-Site-Data on a service worker without collateral damage will make it much easier to sell service worker experimentation internally, since there is some hesitation to use service workers because of the larger risks of bug impact in service worker code.

@tepark-goog
Copy link

YouTube is interested in the benefits that buckets provide, namely:

  • Quota policy enables better heuristics around how much we store for our networkless logging solution.
  • Per-bucket storage estimates allow for improved UX around downloaded video storage availability.
  • As the API matures, we are hoping to see some general IndexedDB performance gains. Examples:
    • Some policies are immutable, thus optimizations can be made on bucket creation (e.g. different underlying storage structure for relaxed vs strict).
    • DB operations in one bucket can be fully independent (process-wise) of DB operations in another bucket.

@WICG WICG deleted a comment from fwadnjar Dec 28, 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
None yet
Projects
None yet
Development

No branches or pull requests

7 participants