-
Notifications
You must be signed in to change notification settings - Fork 13
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
CacheStorage / localStorage or something similar needs to be included? #9
Comments
This is definitely a topic to explore! Do you think we could split Web Storage and caches into separate issues? Each is a discussion large enough on its own, and they have very different use cases. |
The first problem is should we define both of them? Or just choose one of them? |
This could absolutely be its own workstream. These do not yet meet the minimum requirements for inclusion in the minimum common API, however, as there is not a single already standard API that is consistent enough across the environments. |
I think we can open a new workstream to push this work. |
I think
|
I think |
I agree. Maybe we can just open a workstream on CacheStorage related API. GoalGive Winter the ability of local cache. For scene like Serverless, edge, etc, many isolates (whatever in process or thread) of the same function (or application) can share their local cache in one container (or other environment). Just like the same origin in browser. |
I have not yet audited the Workers implementation of |
Deno has CacheStorage implemented, and Node.js has the in memory version of CacheStorage shipped already with undici, just not as a defined and constructed as a global. The deno version mentions differences from the browser though:
nodejs/undici#2076 If we had CacheStorage as a minimum API it would be great, and then following to have optional persistence on them would be even better if we had Storage Buckets available |
I think those APIs should be included for supporting local KV features.
The text was updated successfully, but these errors were encountered: