scaffold: modern rewrite skeleton (backend + frontend PWA) + roadmap

This commit is contained in:
TLimoges33
2025-08-28 17:05:19 +00:00
parent 2cf4b45b85
commit c64039bb2f
17 changed files with 269 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
// Minimal service worker (cache-first for shell)
const CACHE = 'liferpg-shell-v1'
self.addEventListener('install', (e) => {
e.waitUntil(
caches.open(CACHE).then((cache) => cache.addAll(['/','/index.html']))
)
})
self.addEventListener('fetch', (e) => {
e.respondWith(
caches.match(e.request).then((r) => r || fetch(e.request))
)
})