Fix: Cache-Busting fuer JS/CSS (?v=Inhalts-Hash) + Cache-Control: no-cache — alte gecachte app.js ohne Such-Polling verhinderte Live-Ergebnisse

This commit is contained in:
Nicolas Gruber
2026-10-19 17:33:12 +02:00
parent 139b3677b5
commit e5b01f7c6e
2 changed files with 18 additions and 3 deletions
+2 -2
View File
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}CIS Enhanced{% endblock %} | FH-Burgenland</title>
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="/static/style.css?v={{ app_version }}">
</head>
<body>
{% set path = request.url.path %}
@@ -32,6 +32,6 @@
</div>
</footer>
{% block scripts %}{% endblock %}
<script src="/static/app.js"></script>
<script src="/static/app.js?v={{ app_version }}"></script>
</body>
</html>