Cache-bust app.js/styles.css with ?v=2; document deploy flow

This commit is contained in:
2026-09-18 22:12:36 +00:00
parent edbd05a3c9
commit e800ab82ff
2 changed files with 12 additions and 2 deletions

View File

@@ -28,6 +28,16 @@ To use another port: `PORT=8080 python3 server.py`.
- **Edit / delete** — every entry can be changed or removed.
- **Sample data** — realistic entries are loaded on first run so each view has content. Use **Clear all** to start empty and **Load sample data** to add them back.
## Deploy
Live at **https://tally.shaebali.com** (Dokploy app `tally`, built from the
`main` branch of the `shaebali/tally` Gitea repo). To ship: commit, push to
`main`, then trigger `application.deploy` on Dokploy.
Cloudflare caches `app.js`/`styles.css` at the edge, so every deploy that
changes them must bump the `?v=` query in `index.html` or visitors keep
getting the old files until the edge entry expires.
## Files
- `index.html` — page structure