Fix: SW Network-First für Navigation + versionierte CSS/JS-URLs (v=32)
- sw.js: index.html nie aus Cache (navigation → network-first) - index.html: ?v=32 an layout.css, components.css, api/ui/app.js - sw.js STATIC_ASSETS: versionierte URLs gecacht - app.js: Sidebar-Background per getComputedStyle statt CSS-Variable-String - SW by-v31 → by-v32
This commit is contained in:
parent
b6fae96334
commit
619ff559e6
3 changed files with 33 additions and 24 deletions
|
|
@ -20,10 +20,10 @@
|
|||
|
||||
<title>Ban Yaro</title>
|
||||
|
||||
<!-- CSS: Reihenfolge ist wichtig -->
|
||||
<!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung -->
|
||||
<link rel="stylesheet" href="/css/design-system.css">
|
||||
<link rel="stylesheet" href="/css/layout.css">
|
||||
<link rel="stylesheet" href="/css/components.css">
|
||||
<link rel="stylesheet" href="/css/layout.css?v=32">
|
||||
<link rel="stylesheet" href="/css/components.css?v=32">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
@ -215,9 +215,9 @@
|
|||
<div id="modal-container"></div>
|
||||
|
||||
<!-- JS: Reihenfolge ist wichtig — erst Basis, dann Features -->
|
||||
<script src="/js/api.js"></script>
|
||||
<script src="/js/ui.js"></script>
|
||||
<script src="/js/app.js"></script>
|
||||
<script src="/js/api.js?v=32"></script>
|
||||
<script src="/js/ui.js?v=32"></script>
|
||||
<script src="/js/app.js?v=32"></script>
|
||||
|
||||
<!-- Feature-Seiten werden lazy geladen -->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue