carlos / platform Public

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