Repository navigation
docs(openspec): propose perf-longer-edge-cache - #633
Merged
Merged
Conversation
Deploying with
|
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.