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:
2026-09-04 02:41:15 +00:00
co-authored by Claude Fable 5.1
parent ae44014e22
commit a5222953dd
5 changed files with 15 additions and 6 deletions
+7
View File
@@ -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