Fix: Offline-Pfote — Step 2+3 tolerant, mehr Prefetch, SW by-v1088
Steps wurden nicht grün weil Probes zu strikt waren (alle 7 Module bzw. 3 URL-Patterns erforderlich) — Cache-Inhalt zum Refresh- Zeitpunkt oft unvollständig. - Step 2 toleriert 1 fehlendes Page-Modul (have >= want-1) - Step 3 verlangt nur noch Profil ODER welcome-dashboard PLUS Diary ODER Health (nicht beides) - Neuer _prefetchPages() lädt alle 10 Page-Module proaktiv beim App-Start — unabhängig von SW-Install-Status - _prefetchData() wird jetzt mehrmals retried (2s, 5s, 10s, 20s), damit hund-spezifische Daten geholt werden sobald _appState.activeDog gesetzt ist
This commit is contained in:
parent
87462cb2fe
commit
03725d6682
5 changed files with 39 additions and 24 deletions
|
|
@ -101,9 +101,9 @@
|
|||
</script>
|
||||
|
||||
<!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung -->
|
||||
<link rel="stylesheet" href="/css/design-system.css?v=1087">
|
||||
<link rel="stylesheet" href="/css/layout.css?v=1087">
|
||||
<link rel="stylesheet" href="/css/components.css?v=1087">
|
||||
<link rel="stylesheet" href="/css/design-system.css?v=1088">
|
||||
<link rel="stylesheet" href="/css/layout.css?v=1088">
|
||||
<link rel="stylesheet" href="/css/components.css?v=1088">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
@ -625,11 +625,11 @@
|
|||
<div id="modal-container"></div>
|
||||
|
||||
<!-- JS: Reihenfolge ist wichtig — erst Basis, dann Features -->
|
||||
<script src="/js/api.js?v=1087"></script>
|
||||
<script src="/js/ui.js?v=1087"></script>
|
||||
<script src="/js/app.js?v=1087"></script>
|
||||
<script src="/js/worlds.js?v=1087"></script>
|
||||
<script src="/js/offline-indicator.js?v=1087"></script>
|
||||
<script src="/js/api.js?v=1088"></script>
|
||||
<script src="/js/ui.js?v=1088"></script>
|
||||
<script src="/js/app.js?v=1088"></script>
|
||||
<script src="/js/worlds.js?v=1088"></script>
|
||||
<script src="/js/offline-indicator.js?v=1088"></script>
|
||||
|
||||
<!-- Feature-Seiten werden lazy geladen -->
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue