Caching serverseitig komplett verhindern (no-store)

- Alle Antworten mit Cache-Control: no-store,no-cache,must-revalidate,max-age=0
  + Pragma/Expires -> Browser UND Proxys (Cloudflare) speichern nichts mehr
- ETag/Last-Modified fuer statische Assets aus
- Behebt: bei manchen Nutzern laden nach Updates alte JS/CSS-Dateien

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Guido
2026-08-05 11:48:09 +02:00
parent ecdbd2ee0d
commit 53cdfc7346
2 changed files with 21 additions and 7 deletions

View File

@@ -6,9 +6,9 @@ const $ = (id) => document.getElementById(id);
// ---- Konstanten (leicht justierbar) ----
const START_TIME = 22; // Sekunden zu Beginn
const MAX_TIME = 30; // Deckel (Timerleiste = timeLeft / MAX_TIME)
const BONUS = 2.0; // Zeit pro Treffer
const PENALTY = 2.0; // Zeitabzug pro Fehlklick
const MAX_TIME = 20; // Deckel (Timerleiste = timeLeft / MAX_TIME)
const BONUS = 1.0; // Zeit pro Treffer
const PENALTY = 3.0; // Zeitabzug pro Fehlklick
const NAME_KEY = 'fuesse_name';
// ---- Zustand ----