From e76ba70d88038e8e5c46e22780eb076610baa0e9 Mon Sep 17 00:00:00 2001 From: bobsfriend12 Date: Sat, 29 Jul 2023 16:05:27 -0500 Subject: [PATCH] get rid of cache --- app/frontend/static/assets/js/shared/service-worker.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/frontend/static/assets/js/shared/service-worker.js b/app/frontend/static/assets/js/shared/service-worker.js index 4af0e00b..2fdbf708 100644 --- a/app/frontend/static/assets/js/shared/service-worker.js +++ b/app/frontend/static/assets/js/shared/service-worker.js @@ -15,12 +15,6 @@ self.addEventListener("message", (event) => { } }); -self.addEventListener("install", async (event) => { - event.waitUntil( - caches.open(CACHE).then((cache) => cache.add(offlineFallbackPage)) - ); -}); - if (workbox.navigationPreload.isSupported()) { workbox.navigationPreload.enable(); }