From 3f4cf9ee42eb1c8be01ccefb9b396cebe1213413 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 10 May 2019 18:31:11 +0200 Subject: [PATCH] service worker: cache icons --- public/service-worker.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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',