diff options
author | Andrew Dolgov <[email protected]> | 2019-11-13 17:17:08 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-11-13 17:17:08 +0300 |
commit | 0e2d8f365a97805d2c8cb88233fc59f4673cba98 (patch) | |
tree | c82291d73bc06b2bb0b6df2b7d178131fdd9ae70 /worker.js | |
parent | d82d599812c1f126d7f9a9cecbca5422964da99e (diff) |
disable static cache filling because we don't provide all files in the list which breaks service worker on initial install
Diffstat (limited to 'worker.js')
-rw-r--r-- | worker.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -40,6 +40,7 @@ const CACHE_URLS = [ 'lib/fonts/pmn-caecilia-75.ttf' ]; +/* self.addEventListener('install', function(event) { event.waitUntil( caches.open(CACHE_NAME).then(function(cache) { @@ -47,6 +48,7 @@ self.addEventListener('install', function(event) { }) ); }); +*/ self.addEventListener('activate', function(event) { event.waitUntil( |