Skip to content

Conversation

parlough
Copy link
Member

@parlough parlough commented Oct 17, 2025

Automatically computes a hash for the generated main.css file and makes it accessible from Dart code. Then appends it as a query parameter to the main.css link from each page. This allows changes to the CSS to indicate to clients to pull the updated version rather than the potentially outdated one from cache.

Resolves #6946

@dart-github-bot
Copy link
Collaborator

dart-github-bot commented Oct 17, 2025

Visit the preview URL for this PR (updated for commit 879bd8c):

https://dart-dev--pr6950-feat-6946-uh1xxor7.web.app

@parlough parlough marked this pull request as ready for review October 17, 2025 11:29
@parlough parlough requested a review from antfitch October 17, 2025 13:40
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.

Automatic cache busting of main.css

2 participants