service worker: cache icons

This commit is contained in:
Daniel Friesel 2019-05-10 18:31:11 +02:00
parent 25c460a34a
commit 3f4cf9ee42

View file

@ -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',