mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-07 07:35:59 +00:00
Use different worker cache name per ui
Avoid to have users clear their browser caches
This commit is contained in:
parent
42053cacca
commit
f29353adb3
@ -1,5 +1,5 @@
|
|||||||
// use a cacheName for cache versioning
|
// use a cacheName for cache versioning
|
||||||
var cacheName = 'v1:static';
|
var cacheName = 'v{{ flags.uiVersion }}:static';
|
||||||
|
|
||||||
// during the install phase you usually want to cache static assets
|
// during the install phase you usually want to cache static assets
|
||||||
self.addEventListener('install', function(e) {
|
self.addEventListener('install', function(e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user