few more resources to service worker
This commit is contained in:
parent
4dd50c7744
commit
1ecbdd19a1
39
html/sw.js
39
html/sw.js
@ -5,21 +5,30 @@ self.addEventListener('install', function(e) {
|
||||
e.waitUntil(
|
||||
caches.open('meritkollen').then(function(cache) {
|
||||
return cache.addAll([
|
||||
'/',
|
||||
'/index.html',
|
||||
'/Ekonomi.php',
|
||||
'/Estet.php',
|
||||
'/Natur.php',
|
||||
'/Samhäll.php',
|
||||
'/Teknik.php',
|
||||
'/assets/css/main.min.css',
|
||||
'/assets/img/background.jpg',
|
||||
'/assets/js/calcscript.js',
|
||||
'/assets/js/changeall.js',
|
||||
'/assets/js/loader.js',
|
||||
'/assets/js/loader.min.js',
|
||||
'/assets/js/softscrollscript.js',
|
||||
'/assets/js/sparabetyg.js',
|
||||
'/',
|
||||
'/index.html',
|
||||
'/Ekonomi',
|
||||
'/Estet',
|
||||
'/Natur',
|
||||
'/Samhäll',
|
||||
'/Teknik',
|
||||
'/Kontakt',
|
||||
'/assets/css/main.min.css',
|
||||
'/assets/css/main.min.css?v=201',
|
||||
'/assets/img/tips.jpg ',
|
||||
'/assets/img/background.jpg ',
|
||||
'/assets/img/favicon/manifest.json',
|
||||
'/assets/img/favicon/android-chrome-192x192.png',
|
||||
'/assets/img/favicon/favicon-32x32.png',
|
||||
'/assets/img/favicon/favicon-16x16.png',
|
||||
'/assets/img/favicon/favicon.ico',
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/fonts/roboto/Roboto-Regular.woff2',
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/fonts/roboto/Roboto-Regular.woff',
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css',
|
||||
'https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2',
|
||||
'https://fonts.googleapis.com/icon?family=Material+Icons',
|
||||
'https://fonts.googleapis.com/css?family=Roboto:300,400,500,700',
|
||||
'https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css'
|
||||
]);
|
||||
})
|
||||
);
|
||||
|
Reference in New Issue
Block a user