ItzLightyHD ffe8ebc59d
Updates
2022-08-21 11:10:57 +02:00

1 line
466 B
JavaScript

(()=>{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)})();