Skip to content

docs(openspec): propose perf-longer-edge-cache - #633

Merged
TheMeinerLP merged 1 commit into
mainfrom
docs/propose-perf-longer-edge-cache
Nov 22, 2026
Merged

TheMeinerLP merged 1 commit into
mainfrom
docs/propose-perf-longer-edge-cache

Conversation

@TheMeinerLP

Copy link
Copy Markdown
Collaborator

Most pages on the site only change when a new version is released, yet the edge cache throws them away after an hour, so every expiry costs a full server render for a page that has not changed.

This proposal plans keeping those pages fresh for a day. I went through what actually depends on the clock at runtime: the home page, events, the community wall, the blog list and author pages (scheduled posts show up there), and the seasonal look on the days it switches. Those stay at one hour; blog articles, team, about, projects, POIs and the small static pages move to 24 hours. Anything new defaults to the short time.

No purge step is needed on deploy: Cloudflare's Workers Cache keys entries by Worker version, so each release starts with an empty cache (source linked in the design). Nothing for the maintainer to set up.

Planning only, no code. The code PR follows once this is merged and will be titled perf(cache): keep static pages edge-fresh for a day.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
launchpad d0ca0b0 Commit Preview URL

Branch Preview URL
Nov 22 2026, 10:30 PM

@TheMeinerLP
TheMeinerLP merged commit 8707852 into main Nov 22, 2026
14 checks passed
@TheMeinerLP
TheMeinerLP deleted the docs/propose-perf-longer-edge-cache branch November 22, 2026 22:49
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.

1 participant