|
@@ -103,10 +103,14 @@ define(['./workbox-5357ef54'], function (workbox) {
|
|
|
new workbox.NavigationRoute(workbox.createHandlerBoundToURL('index.html'), {
|
|
|
allowlist: [/^\/$/]
|
|
|
}),
|
|
|
- workbox.strategies.NetworkFirst()
|
|
|
+ workbox.strategies.networkOnly()
|
|
|
+ );
|
|
|
+ workbox.routing.registerRoute(
|
|
|
+ new RegExp('.*.html|css'),
|
|
|
+ workbox.strategies.networkFirst()
|
|
|
);
|
|
|
workbox.routing.registerRoute(
|
|
|
new RegExp('.*.html|css|js'),
|
|
|
- workbox.strategies.NetworkFirst()
|
|
|
+ workbox.strategies.networkOnly()
|
|
|
);
|
|
|
});
|