Version static asset URLs so releases bust the CSS/JS cache
Cached app.css from before 0.4.0 left the score keeper page unstyled on phones. Assets are now /static/x?v=<version> with a one-year immutable cache; unversioned requests get 60s. Release 0.4.2. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01MB7nCCAscYsb3zzkT6LHZi
This commit is contained in:
1 parent
ae44014e22
commit
a5222953dd
5 files changed
+15
-6
No files matched your search
@@ -9,6 +9,13 @@ so you can always tell what a deployment is actually serving.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.4.2] - 2026-09-03
|
||||
|
||||
### Fixed
|
||||
- Stylesheet and scripts are referenced with `?v=<version>`, so a new release can no longer be
|
||||
served with a cached old `app.css` (which made the score keeper page render unstyled on
|
||||
phones after 0.4.0). Versioned assets are cached for a year; unversioned for a minute.
|
||||
|
||||
## [0.4.1] - 2026-09-03
|
||||
|
||||
### Added
|
||||
|
||||
Reference in new issue
Block a user