-
Notifications
You must be signed in to change notification settings - Fork 209
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
Cache doesn't support the cf:{cacheKey: 'cacheKeyHere'}
property of a request
#37
Comments
Hey! 👋 This should definitely be supported. In your example, is |
It is a real parameter. At the time that we wrote the worker it was required for the worker to respect the |
Hey! 👋 The first pre-release of Miniflare 2 has just been released, including support for |
An undocumented, but supported, feature of the cache API is the ability to supply custom cache keys via the CF object of a request
eg
We use this pretty extensively within our workers. Happy to take a punt at adding it if you're willing to support it?
I'd understand if you wouldn't want to given it's largely undocumented support.
The text was updated successfully, but these errors were encountered: