Skip to content

Switch to generic cache control headers#1331

Merged
eyeseast merged 2 commits into
mainfrom
generic-cache-headers
May 11, 2026
Merged

Switch to generic cache control headers#1331
eyeseast merged 2 commits into
mainfrom
generic-cache-headers

Conversation

@eyeseast
Copy link
Copy Markdown
Collaborator

Switches Cloudflare-CDN-Cache-Control to Cache-Control everywhere, since we only have one CDN now.

This will also allow browsers to cache pages, so we should watch for any staleness.

@github-actions
Copy link
Copy Markdown

Preview deployed: https://preview-1331.staging.documentcloud.org

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 11, 2026

@eyeseast
Copy link
Copy Markdown
Collaborator Author

Related research spike: https://github.com/MuckRock/research/tree/main/cloudflare-cache-analysis

It looks like the adapter uses the low-level cache API, but only for generic cache headers, not CF-specific.

@eyeseast eyeseast merged commit e3465e9 into main May 11, 2026
7 of 8 checks passed
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.

2 participants