fix: cache-bust stylesheet behind cloudflare #4
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/stylesheet-cache-bust"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The subtitle links on cumsek.com still show up in default blue with an underline, even though #3 is merged.
The cause is caching. Cloudflare serves
style.csswithcache-control: max-age=14400and is still serving the copy from #1 (cf-cache-status: HIT), which has no link rules. The HTML isn't cached, so visitors get the new markup with the old stylesheet. I checked that the origin already serves the currentstyle.css.This changes the stylesheet link to
style.css?v=2. The new URL isn't in Cloudflare's cache or the browser's, so both fetch the current file. Bump the number wheneverstyle.csschanges.Checked with a headless Zen screenshot of this branch: the names render as plain grey subtitle text.
🤖 Generated with Claude Code