design-edge-page-cache
What this branch carries
docs/superpowers/specs/2026-11-08-edge-page-cache-design.md, rev 4, approved by Paul 2026-11-08.docs/superpowers/plans/2026-11-08-edge-page-cache-plan-1-home.md, the slice 1 (home box) plan, under Astra review.- Every Astra brief and its findings, unedited, beside the documents.
The feature
An app marks a response with Carlos-Page-Cache: on and a long s-maxage. The edge keeps the page on disk and serves it without waking the app. The app clears one page, a path, a host, or every host of the instance (Carlos-Purge: all) through today's header or control socket. A new release or config change clears automatically.
- The page index. One index per box is the only code that publishes, clears, resets or looks up a page.
- The old cache. Opted-in instances never use the 5-minute LRU.
- Far boxes (slice 2). They serve under a lease of about 5 s, and clears are pushed to them.
- Region HA. HA routes are out of v1.
Review history
- Spec round 1: 4 P1.
- Spec round 2: 2 P1. Stopping rule 2 fired, and Paul chose "one rule, one place" and "opted-in skips old cache".
- Spec round 3: 1 P1, fixed in rev 4. Paul approved rev 4 without a fourth round.
Docs only. No code changes.
Human
Design and slice 1 plan for an opt-in edge page cache: an app marks a response with Carlos-Page-Cache: on and the edge keeps the page (home box first, far boxes in slice 2) until the app clears it. Spec rev 4 approved by Paul 2026-11-08 after three Astra rounds; slice 1 plan under Astra review. Docs only; no code.
Commits
12
Discussions
0
0 open
Tasks
0/0
done
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- paul@keymail.dev pushed 363ec0163 plan: edge page cache slice 1 rev 4 after Astra plan round 3
- paul@keymail.dev pushed 4c5c988fc plan: edge page cache slice 1 rev 3 after Astra plan round 2
- paul@keymail.dev pushed c006cd41e plan: edge page cache slice 1 rev 2 after Astra plan round 1
- paul@keymail.dev pushed 90da7cd56 plan: edge page cache slice 1, Astra review brief round 1
- paul@keymail.dev pushed bb3b48649 plan: edge page cache slice 1, self-review fixes
- paul@keymail.dev pushed ed0dde816 plan: edge page cache slice 1 (home box)
- paul@keymail.dev pushed a9801c98a spec: edge page cache rev 4 approved by Paul
- paul@keymail.dev pushed 6e1ec7dc7 spec: edge page cache rev 4 after Astra round 3
- paul@keymail.dev pushed 4e634b3b1 spec: edge page cache rev 3 after Astra round 2
- paul@keymail.dev pushed 389496f3a spec: edge page cache, Astra round 2 findings (unedited)
- paul@keymail.dev pushed 5421a0f0a spec: edge page cache rev 2 after Astra round 1
- paul@keymail.dev pushed 82e62c099 spec: edge page cache, draft rev 1 and round 1 review brief