Skip to content

Document cache_option_preserves_cache_control compatibility flag - #34348

Merged
danlapid merged 1 commit into
productionfrom
dlapid/cache-option-preserves-cache-control
Oct 15, 2026
Merged

danlapid merged 1 commit into
productionfrom
dlapid/cache-option-preserves-cache-control

Conversation

@danlapid

Copy link
Copy Markdown
Contributor

Documents the cache_option_preserves_cache_control compatibility flag (default on 2026-11-17), added in cloudflare/workerd#7749.

With the flag, RequestInit.cache: 'no-cache' / 'no-store' no longer override the origin's Cache-Control when Cloudflare caches the response, matching the Fetch spec. cf.cacheControl remains the way to override it.

🤖 Generated with Claude Code

@github-actions github-actions Bot added the product:workers Related to Workers product label Oct 14, 2026
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

AI Review

✅ Reviewed fff4b69 · 0 findings · incremental

Commands
  • /review Run a review now.
  • /full-review Review the entire PR diff.
  • /disable-auto-review Stop automatic reviews.
  • /rebase Rebase against production.

@github-actions

Copy link
Copy Markdown
Contributor

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://dlapid-cache-option-preserves-cache-control.previews.developers.cloudflare.com (commit fff4b69)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://7615ba05.previews.developers.cloudflare.com fff4b69 2026-10-14T23:02:41.550Z Visit the dashboard ↗

@danlapid
danlapid added this pull request to the merge queue Oct 15, 2026
Merged via the queue into production with commit 74d259f Oct 15, 2026
15 checks passed
@danlapid
danlapid deleted the dlapid/cache-option-preserves-cache-control branch October 15, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:workers Related to Workers product size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants