chore(*): Remove navigation preload

This is unnecessary as there are only two pages.
This commit is contained in:
Josh Creek
2022-10-09 15:34:57 +01:00
committed by GitHub
parent 0d641c4f66
commit 5dc201eac7
-3
View File
@@ -7,9 +7,6 @@ import { registerRoute, NavigationRoute, Route } from 'workbox-routing';
// eslint-disable-next-line no-underscore-dangle, no-restricted-globals
precacheAndRoute(self.__WB_MANIFEST);
// Enable navigation preload - this should reduce navigation latency
navigationPreload.enable();
const navigationRoute = new NavigationRoute(new NetworkFirst({
cacheName: 'navigations',
}));