read.markets/app/templates
Giorgio Gilestro daa3f79a52 mobile: cache-bust static assets so browser picks up CSS/JS edits
User reported phone still showing old behaviour (Qty/Avg portfolio
columns visible) even though the server-side JS had been updated.
Root cause: every <link>/<script> URL was a plain
/static/css/foo.css with no query string, so mobile Chrome served
the file from its HTTP cache rather than refetching it.

Adds a process-startup timestamp to the Jinja environment as
ASSET_VERSION (computed once when templates_env is imported). Every
<link>/<script> reference now appends `?v={{ ASSET_VERSION }}` so a
container restart bumps the URL and the browser refetches. 38 URLs
across 8 templates updated via sed; tests still pass.

Side benefit: future CSS/JS edits no longer require users to hard-
refresh.
2026-05-28 19:20:49 +02:00
..
partials mobile: wrap tabs, trim portfolio + markets bar columns 2026-05-28 19:10:58 +02:00
about.html public: landing + pricing + legal pages, apex-ready, lawyer-reviewed 2026-05-24 00:08:02 +02:00
base.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
dashboard.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
disclaimer.html pricing: land £7/£70 paid tier and make behaviour match 2026-05-26 11:34:37 +02:00
landing.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
log.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
login.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
news.html brand: rename product to "Read the Markets" (read.markets) 2026-05-22 19:39:38 +01:00
pricing.html cleanup: drop dead upload.html + soften broker-only marketing copy 2026-05-27 15:39:03 +02:00
privacy.html public: landing + pricing + legal pages, apex-ready, lawyer-reviewed 2026-05-24 00:08:02 +02:00
public_base.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
settings.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00
terms.html i18n: instant lang switch via HTMX trigger + refresh paid-plans terms 2026-05-27 21:02:03 +02:00
verify.html mobile: cache-bust static assets so browser picks up CSS/JS edits 2026-05-28 19:20:49 +02:00