summaryrefslogtreecommitdiff
path: root/public/service-worker.js
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-03 21:02:24 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-03 21:02:24 +0200
commitcdbb3ee45bade7dbd8158b04dec766bf6f01e8cf (patch)
treeeb1bb9493687e00af22da87aa5fa8c3ef8708496 /public/service-worker.js
parent5178e58c0ceb59d46dc3dfca59d8f35edb4791b3 (diff)
use versioning for service worker and web app manifest
Diffstat (limited to 'public/service-worker.js')
-rw-r--r--public/service-worker.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/public/service-worker.js b/public/service-worker.js
index 2b5c556..6a9a05b 100644
--- a/public/service-worker.js
+++ b/public/service-worker.js
@@ -1,12 +1,12 @@
-const CACHE_NAME = 'static-cache-v10';
+const CACHE_NAME = 'static-cache-v11';
const FILES_TO_CACHE = [
'/offline.html',
- '/static/v10/css/materialize.min.css',
- '/static/v10/css/material-icons.css',
- '/static/v10/css/local.css',
- '/static/v10/js/jquery-2.2.4.min.js',
- '/static/v10/js/materialize.min.js',
- '/static/v10/js/travelynx-actions.min.js',
+ '/static/v11/css/materialize.min.css',
+ '/static/v11/css/material-icons.css',
+ '/static/v11/css/local.css',
+ '/static/v11/js/jquery-2.2.4.min.js',
+ '/static/v11/js/materialize.min.js',
+ '/static/v11/js/travelynx-actions.min.js',
];
self.addEventListener('install', (evt) => {