mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-04 18:39:33 +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
|
||||
var cacheName = 'v1:static';
|
||||
var cacheName = 'v{{ flags.uiVersion }}:static';
|
||||
|
||||
// during the install phase you usually want to cache static assets
|
||||
self.addEventListener('install', function(e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user