Skip to content

Fix stale demo styles after Pages deploy - #108

Merged
fraserxu merged 1 commit into
masterfrom
codex/fix-demo-styles
Jul 11, 2026
Merged

Fix stale demo styles after Pages deploy#108
fraserxu merged 1 commit into
masterfrom
codex/fix-demo-styles

Conversation

@fraserxu

@fraserxu fraserxu commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • version the demo stylesheet request to bypass the stale GitHub Pages edge/browser cache
  • leave the demo assets and behavior unchanged

Verification

  • npm run check

Note

Low Risk
Single HTML cache-busting query string with no security, auth, or runtime behavior impact.

Overview
Fixes stale demo styling after GitHub Pages deploys by appending a version query (?v=1.0.1) to the ./style.css link in docs/index.html, so browsers and the Pages CDN fetch fresh CSS instead of a cached copy.

No demo logic or other assets change—only the stylesheet URL.

Reviewed by Cursor Bugbot for commit 86d390e. Bugbot is set up for automated code reviews on this repo. Configure here.

@fraserxu
fraserxu merged commit e9dfced into master Jul 11, 2026
5 checks passed
@fraserxu
fraserxu deleted the codex/fix-demo-styles branch July 11, 2026 01:13
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