fix(admin): bust admin.js browser cache with ?v=3, disable immutable static cache
Deploy to Production / deploy (push) Successful in 3m16s
Deploy to Production / deploy (push) Successful in 3m16s
Quarkus defaults to Cache-Control: immutable, max-age=86400 for static files. The immutable flag means browsers ignore hard-refresh and serve stale JS for 24h. Fix: version query string on admin.js URLs, max-age=300 (5min), clear immutable-paths. Co-Authored-By: Mira Rehfeld <noreply@anthropic.com>
This commit is contained in:
@@ -149,7 +149,7 @@ button.promote:hover { background: #2ea043; }
|
||||
<script>var __D = {dataJson.raw};</script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/d3@7/dist/d3.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/topojson-client@3/dist/topojson-client.min.js"></script>
|
||||
<script src="/admin.js"></script>
|
||||
<script src="/admin.js?v=3"></script>
|
||||
<script>
|
||||
(function () {
|
||||
const INTERVAL = 5000;
|
||||
|
||||
Reference in New Issue
Block a user