Bump sw version

This commit is contained in:
Fred Boniface 2023-07-01 22:19:01 +01:00
parent 64be61f62d
commit 1313c41889
1 changed files with 3 additions and 2 deletions

5
sw.js
View File

@ -1,6 +1,6 @@
/* Service Worker */ /* Service Worker */
const swVersion = '2023.6.5-1' const swVersion = '2023.6.7-1'
const cacheName = `owlboard-${swVersion}` const cacheName = `owlboard-${swVersion}`
const cacheIDs = [cacheName] const cacheIDs = [cacheName]
let staticCache = [ let staticCache = [
@ -21,7 +21,8 @@ let staticCache = [
'/images/nav/close.svg', '/images/nav/close.svg',
'/images/nav/refresh.svg', '/images/nav/refresh.svg',
'/images/nre/nre-powered_400w.webp', '/images/nre/nre-powered_400w.webp',
'/images/nre/nre-powered_400w.jxl' '/images/nre/nre-powered_400w.jxl',
'/sw.js'
] ]
const dynamicCache = [ const dynamicCache = [
'/404.html', '/404.html',