Skip to content

Mark Plan 0009 Phase 3 done and describe the CDN cache rule - #152

Merged
bketelsen merged 1 commit into
mainfrom
plan-0009-phase-3-done
Oct 3, 2026
Merged

bketelsen merged 1 commit into
mainfrom
plan-0009-phase-3-done

Conversation

@bketelsen

Copy link
Copy Markdown
Contributor

Summary

Plan 0009 Phase 3 (cache immutable paths) was completed on 2026-10-03. The frostyard.org zone now has the Cache Rule apt immutable:

  • Matches repository.frostyard.org paths under /debian/pool/ and /debian/dists/**/by-hash/.
  • Edge cache: eligible for cache; the edge TTL ignores cache-control headers and is set to 1 year.
  • Errors: a Status code TTL of no-store for codes of 400 and up. Cloudflare's TTL override otherwise applies to every status code, 404s included.
  • Browser TTL: respect origin.

Verified from outside:

  • a by-hash index and a pool .deb went MISS, then HIT;
  • a missing file was BYPASS both times;
  • InRelease stayed DYNAMIC.

This PR checks off Phase 3 with that evidence and updates the CDN section of the living Debian publication design doc. The plan's original wording, with a one-year browser TTL and no error exemption, is replaced by what was actually deployed.

Risk tier

Risk tier: 1 — docs only: a living plan and a living design doc.

Docs housekeeping

  • Cross-links hold: Phase 3 ↔ design doc CDN section
  • No ADR changes

Verification

  • npm run verify green

🤖 Generated with Claude Code

The frostyard.org zone's Cache Rule `apt immutable` caches
repository.frostyard.org's /debian/pool/ and by-hash paths at the edge for one
year.

- Status codes of 400 and up are no-store: the TTL override otherwise applies
  to every status code.
- Browser TTL respects the origin.
- The mutable indexes stay uncached.

Verified 2026-10-03: by-hash and a pool .deb go MISS, then HIT; a missing file
is BYPASS; InRelease is DYNAMIC. The Debian publication design doc's CDN
section now describes the rule.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@bketelsen
bketelsen added this pull request to the merge queue Oct 3, 2026
Merged via the queue into main with commit c165c5f Oct 3, 2026
3 checks passed
@bketelsen
bketelsen deleted the plan-0009-phase-3-done branch October 3, 2026 19:40
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