Skip to content

fix: root path html cache#44

Merged
think-in-universe merged 6 commits intomainfrom
fix/index-html-cache
Nov 26, 2025
Merged

fix: root path html cache#44
think-in-universe merged 6 commits intomainfrom
fix/index-html-cache

Conversation

@think-in-universe
Copy link
Contributor

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an index HTML caching issue by implementing two changes: adding a version query parameter redirect for the root path and strengthening cache-control headers for HTML files.

  • Redirects root path (/) to /?v=1 when no version parameter exists to force cache invalidation
  • Updates cache-control headers for HTML files from no-cache to no-cache, no-store, must-revalidate for stricter caching prevention

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@think-in-universe think-in-universe changed the title fix: index html cache fix: root path cache Nov 26, 2025
@think-in-universe think-in-universe changed the title fix: root path cache fix: root path html cache Nov 26, 2025
@think-in-universe think-in-universe merged commit 6f757dc into main Nov 26, 2025
1 check passed
@think-in-universe think-in-universe deleted the fix/index-html-cache branch November 26, 2025 16:23
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.

2 participants