From e800ab82ff2cfd29163707e46b9e565eb09fa021 Mon Sep 17 00:00:00 2001 From: shaebali Date: Fri, 18 Sep 2026 22:12:36 +0000 Subject: [PATCH] Cache-bust app.js/styles.css with ?v=2; document deploy flow --- README.md | 10 ++++++++++ index.html | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe4630c..09e97a1 100644 --- a/README.md +++ b/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 diff --git a/index.html b/index.html index 8dfa0ff..4f466b5 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - +
@@ -164,6 +164,6 @@ - +