mirror of
https://github.com/jcreek/SelectionWheel.git
synced 2026-07-13 11:13:45 +00:00
chore(*): Remove navigation preload
This is unnecessary as there are only two pages.
This commit is contained in:
@@ -7,9 +7,6 @@ import { registerRoute, NavigationRoute, Route } from 'workbox-routing';
|
|||||||
// eslint-disable-next-line no-underscore-dangle, no-restricted-globals
|
// eslint-disable-next-line no-underscore-dangle, no-restricted-globals
|
||||||
precacheAndRoute(self.__WB_MANIFEST);
|
precacheAndRoute(self.__WB_MANIFEST);
|
||||||
|
|
||||||
// Enable navigation preload - this should reduce navigation latency
|
|
||||||
navigationPreload.enable();
|
|
||||||
|
|
||||||
const navigationRoute = new NavigationRoute(new NetworkFirst({
|
const navigationRoute = new NavigationRoute(new NetworkFirst({
|
||||||
cacheName: 'navigations',
|
cacheName: 'navigations',
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user