summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-05-10 18:31:11 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-05-10 18:31:11 +0200
commit3f4cf9ee42eb1c8be01ccefb9b396cebe1213413 (patch)
tree5afa28bad961099ab51470bfa9e8f62d11317db6 /public
parent25c460a34a6140a2edce934899d12744fe4f6d01 (diff)
service worker: cache icons
Diffstat (limited to 'public')
-rw-r--r--public/service-worker.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/public/service-worker.js b/public/service-worker.js
index ce9653d..dcdc5f6 100644
--- a/public/service-worker.js
+++ b/public/service-worker.js
@@ -1,9 +1,13 @@
-const CACHE_NAME = 'static-cache-v17';
+const CACHE_NAME = 'static-cache-v17b';
const FILES_TO_CACHE = [
+ '/favicon.ico',
'/offline.html',
'/static/v17/css/materialize.min.css',
'/static/v17/css/material-icons.css',
'/static/v17/css/local.css',
+ '/static/v17/fonts/MaterialIcons-Regular.woff2',
+ '/static/v17/fonts/MaterialIcons-Regular.woff',
+ '/static/v17/fonts/MaterialIcons-Regular.ttf',
'/static/v17/js/jquery-3.4.1.min.js',
'/static/v17/js/materialize.min.js',
'/static/v17/js/travelynx-actions.min.js',