fix(server): force stylesheet revalidation with no-cache + content ETag #19

Merged
w33ble merged 1 commit from fix/style-cache-headers into main 2026-10-02 13:15:45 -06:00
Collaborator

Summary

  • /style.css now sends Cache-Control: no-cache plus a content-hash ETag (first 16 hex of sha256), asserted in TestStyleSheetServesWithCorrectType.

Why

Proxies/tunnels (e.g. Cloudflare) were serving stale dock CSS after deploys — the handler previously sent no cache directives, so old layouts survived restarts. no-cache forces revalidation on every load; the ETag keeps unchanged reloads cheap.

## Summary - `/style.css` now sends `Cache-Control: no-cache` plus a content-hash `ETag` (first 16 hex of sha256), asserted in `TestStyleSheetServesWithCorrectType`. ## Why Proxies/tunnels (e.g. Cloudflare) were serving stale dock CSS after deploys — the handler previously sent no cache directives, so old layouts survived restarts. no-cache forces revalidation on every load; the ETag keeps unchanged reloads cheap.
fix(server): force stylesheet revalidation with no-cache + content ETag
All checks were successful
ci / check (pull_request) Successful in 4m13s
fee34dd23f
Proxies/tunnels were serving stale dock CSS after deploys; no-cache forces revalidation and the content-hash ETag keeps unchanged reloads cheap.
w33ble approved these changes 2026-10-02 13:15:27 -06:00
w33ble merged commit 8b31c4ea03 into main 2026-10-02 13:15:45 -06:00
w33ble deleted branch fix/style-cache-headers 2026-10-02 13:15:45 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
w33ble/mediacast!19
No description provided.