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

feat: cloudflare cache runtime api #603

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RihanArfan
Copy link

@RihanArfan RihanArfan commented Mar 19, 2025

resolves #602

TODO: Needs testing

@pi0
Copy link
Member

pi0 commented Mar 19, 2025

Really smart approach. Honestly i'm not 💯 sure it would be best case of using unstorage (Nitro v3 rather can directly leverage caches API on top of web response handling)

But let's keep both on the track and tested.

@RihanArfan
Copy link
Author

If Nitro v3 can do cached event handlers and functions directly via the cache API then I think may not be necessary then 😄

Happy for you to close if Nitro is handling it better.

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

Successfully merging this pull request may close these issues.

Cloudflare Workers Cache API driver
2 participants