Serve every /public/ asset under a content-versioned URL with an immutable Cache-Control #193

Merged
lilleman merged 7 commits from item-34 into main 2026-10-31 10:32:20 +01:00
Owner

Every /public/ href the host renders carries ?v= and answers a year-long immutable Cache-Control; any other /public/ URL is cached for five minutes and revalidated with ETag or Last-Modified (304). Ships item 34.

Every /public/ href the host renders carries ?v=<content hash> and answers a year-long immutable Cache-Control; any other /public/ URL is cached for five minutes and revalidated with ETag or Last-Modified (304). Ships item 34.
lilleman added 2 commits 2026-10-31 10:00:54 +01:00
lilleman added 5 commits 2026-10-31 10:28:35 +01:00
lilleman marked the pull request as ready for review 2026-10-31 10:32:13 +01:00
lilleman merged commit 72528f01ef into main 2026-10-31 10:32:20 +01:00
lilleman deleted branch item-34 2026-10-31 10:32:20 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/plainpages#193