From 7c3a00ff1137f5576d87ce10daccfabeb7120781 Mon Sep 17 00:00:00 2001 From: Xe Date: Tue, 21 Dec 2021 13:19:58 -0500 Subject: turn up the fuck out of the contrast Signed-off-by: Xe --- static/js/sw.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'static') diff --git a/static/js/sw.js b/static/js/sw.js index e0d62fb..29ea65c 100755 --- a/static/js/sw.js +++ b/static/js/sw.js @@ -5,12 +5,10 @@ self.addEventListener('install', function (event) { event.waitUntil(preLoad()); }); -const cacheName = "cache-xesite-2.3.0-999"; +const cacheName = "cache-xesite-2.3.0-1000"; var preLoad = function () { - console.log('[PWA Builder] Install Event processing'); return caches.open(cacheName).then(function (cache) { - console.log('[PWA Builder] Cached index and offline page during Install'); return cache.addAll(['/blog/', '/blog', '/', '/contact', '/resume', '/talks', '/gallery', '/signalboost']); }); }; @@ -19,7 +17,6 @@ self.addEventListener('fetch', function (event) { if (event.request.cache === 'only-if-cached' && event.request.mode !== 'same-origin') { return; } - console.log('[PWA Builder] The service worker is serving the asset.'); event.respondWith(checkResponse(event.request).catch(function () { return returnFromCache(event.request); })); @@ -41,7 +38,6 @@ var checkResponse = function (request) { var addToCache = function (request) { return caches.open(cacheName).then(function (cache) { return fetch(request).then(function (response) { - console.log('[PWA Builder] add page to offline: ' + response.url); return cache.put(request, response); }); }); -- cgit v1.2.3