Add `{cache: no-cache}` to Workers cache
Summary
Add a missing cache supported value
Ref:
- https://github.com/cloudflare/workerd/pull/3283
- https://github.com/cloudflare/workerd/pull/3195
@tewaro is this ok?
/cc @ToriLindsay
Documentation checklist
- [x] The documentation style guide has been adhered to.
Deploying cloudflare-docs with
Cloudflare Pages
| Latest commit: |
c5b03e0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://90e36781.cloudflare-docs-7ou.pages.dev |
| Branch Preview URL: | https://vb-branch-1.cloudflare-docs-7ou.pages.dev |
Files with changes (up to 15)
| Original Link | Updated Link |
|---|---|
| https://developers.cloudflare.com/workers/examples/cache-using-fetch/ | https://vb-branch-1.cloudflare-docs-7ou.pages.dev/workers/examples/cache-using-fetch/ |
The feature is still experimental. We do not support it yet because the necessary changes in pingora are not there. They are scheduled to happen soon. But until then what we have is just a sketch of the interface and will not work as expected.
Thanks for the review/feedback @tewaro. I didn't pay attention that you only modified the experimental types on the PR. Marking the PR as draft
Supplanted by : https://github.com/cloudflare/cloudflare-docs/pull/24245