This commit is contained in:
naielv
2025-08-11 15:25:21 +02:00
parent 2e438c4b9e
commit 9b9bd730dd
2 changed files with 5 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ self.addEventListener("message", (event) => {
workbox.routing.registerRoute(
new RegExp('/*'),
new workbox.strategies.NetworkFirst({
new workbox.strategies.StaleWhileRevalidate({
cacheName: CACHE
})
);