Fix: Update-Loop — index.html Script-Tags auf APP_VER synchronisiert (SW by-v889)
Root cause: ?v=885 in Script-Tags → Browser cached app.js immutable für 1 Jahr. Nach force-update (löscht nur SW-Cache, nicht Browser-HTTP-Cache) lädt Browser alte app.js mit APP_VER=885 → X-App-Version: 889 Mismatch → Endlosschleife. Ab jetzt: ?v= in index.html IMMER mit APP_VER synchron halten.
This commit is contained in:
parent
7257c9e04f
commit
437901b8e2
4 changed files with 7 additions and 7 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Router, State-Management, Navigation, Initialisierung.
|
||||
============================================================ */
|
||||
|
||||
const APP_VER = '888'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VER = '889'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||
const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt
|
||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue