few more resources to service worker

This commit is contained in:
Felix Schulze 2019-11-04 12:56:38 +01:00
parent 4dd50c7744
commit 1ecbdd19a1

View File

@ -7,19 +7,28 @@ self.addEventListener('install', function(e) {
return cache.addAll([
'/',
'/index.html',
'/Ekonomi.php',
'/Estet.php',
'/Natur.php',
'/Samhäll.php',
'/Teknik.php',
'/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/js/calcscript.js',
'/assets/js/changeall.js',
'/assets/js/loader.js',
'/assets/js/loader.min.js',
'/assets/js/softscrollscript.js',
'/assets/js/sparabetyg.js',
'/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'
]);
})
);