Cache-bust app.js/styles.css with ?v=2; document deploy flow
This commit is contained in:
10
README.md
10
README.md
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user