We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3005e56 commit 19b94a9Copy full SHA for 19b94a9
src/service-worker.ts
@@ -1,4 +1,4 @@
1
-import { precacheAndRoute } from 'workbox-precaching'
+import { precacheAndRoute, cleanupOutdatedCaches } from 'workbox-precaching'
2
import { NavigationRoute, registerRoute, Route } from 'workbox-routing'
3
import * as navigationPreload from 'workbox-navigation-preload'
4
import { NetworkFirst, StaleWhileRevalidate } from 'workbox-strategies'
@@ -19,7 +19,7 @@ clientsClaim()
19
precacheAndRoute(self.__WB_MANIFEST)
20
21
// clean old assets
22
-// cleanupOutdatedCaches()
+cleanupOutdatedCaches()
23
24
// Enable navigation preload
25
navigationPreload.enable()
0 commit comments