diff --git a/sw.js b/sw.js index 2024197..56eeb21 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -(()=>{importScripts("https://storage.googleapis.com/workbox-cdn/releases/6.4.1/workbox-sw.js");const e=new workbox.routing.NavigationRoute(new workbox.strategies.NetworkFirst({cacheName:"apexie-navigations"})),o=new workbox.routing.Route((({request:e})=>"image"===e.destination),new workbox.strategies.CacheFirst({cacheName:"apexie-image-assets"}));workbox.routing.registerRoute(e),workbox.routing.registerRoute(o)})(); \ No newline at end of file +(()=>{importScripts("https://storage.googleapis.com/workbox-cdn/releases/6.4.1/workbox-sw.js"),importScripts("https://arc.io/arc-sw-core.js");const e=new workbox.routing.NavigationRoute(new workbox.strategies.NetworkFirst({cacheName:"apexie-navigations"})),o=new workbox.routing.Route((({request:e})=>"image"===e.destination),new workbox.strategies.CacheFirst({cacheName:"apexie-image-assets"}));workbox.routing.registerRoute(e),workbox.routing.registerRoute(o)})(); \ No newline at end of file