Skip to content

Version the stylesheet URL - #22

Merged
kvlonge merged 1 commit into
mainfrom
css-version
Nov 30, 2026
Merged

kvlonge merged 1 commit into
mainfrom
css-version

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Browsers cache styles.css for four hours, so a visitor from before #21 would get the new tool stack with the old stylesheet. Loading it as styles.css?v=2 makes every browser fetch the current one. The cache TTL is unchanged.

…new page

Browsers keep styles.css for four hours, so a recent visitor would pair
the new tool stack with the old stylesheet.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying sqlstack with  Cloudflare Pages  Cloudflare Pages

Latest commit: 298f3df
Status: ✅  Deploy successful!
Preview URL: https://f69bec7b.sqlstack.pages.dev
Branch Preview URL: https://css-version.sqlstack.pages.dev

View logs

@kvlonge
kvlonge merged commit ceb54d1 into main Nov 30, 2026
4 checks passed
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