Skip to content

Cache-bust main.css on each build - #39

Merged
daharoni merged 1 commit into
masterfrom
css-cache-bust
Sep 9, 2026
Merged

Cache-bust main.css on each build#39
daharoni merged 1 commit into
masterfrom
css-cache-bust

Conversation

@daharoni

@daharoni daharoni commented Sep 9, 2026

Copy link
Copy Markdown
Member

Appends the build timestamp to the stylesheet URL so browsers and the Pages CDN pick up new CSS immediately after a deploy. Without this, a deploy that changes both HTML and CSS can render with stale styles for up to 10 minutes.

🤖 Generated with Claude Code

Style changes were showing up as broken pages until the 10-minute
GitHub Pages cache on main.css expired.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@daharoni
daharoni merged commit c916e18 into master Sep 9, 2026
2 checks passed
@daharoni
daharoni deleted the css-cache-bust branch September 9, 2026 16:51
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