]> git.ardis.lu - ardislu.dev/commitdiff
Update service worker cache for new favicons
authorArdis Lu <ardisglu@gmail.com>
Mon, 28 Mar 2022 04:57:39 +0000 (21:57 -0700)
committerArdis Lu <ardisglu@gmail.com>
Mon, 28 Mar 2022 04:57:39 +0000 (21:57 -0700)
sw.js

diff --git a/sw.js b/sw.js
index 9de494e12ede73c34cb1b28ea36744ef21ed4b3e..fc6e93d3bfd397df9dfef5084e186d7321896d3c 100644 (file)
--- a/sw.js
+++ b/sw.js
@@ -1,10 +1,11 @@
-const cacheName = 'v2';
+const cacheName = 'v3';
 
 self.addEventListener('install', event => event.waitUntil(
   caches.open(cacheName).then(cache => cache.addAll(
     [
       'index.html',
-      'favicon.ico',
+      'favicon.svg',
+      'apple-touch-icon.png',
       'style.css',
       'print.css',
       'script.js'
This page took 0.041549 seconds and 4 git commands to generate.