|
|
|
@ -1,13 +1,14 @@
|
|
|
|
async function initCache() {
|
|
|
|
async function initCache() {
|
|
|
|
const cache = await caches.open('v1')
|
|
|
|
const cache = await caches.open('v1')
|
|
|
|
await cache.addAll([
|
|
|
|
await cache.addAll([
|
|
|
|
'/', //8
|
|
|
|
'/',
|
|
|
|
'/index.html',
|
|
|
|
'/index.html',
|
|
|
|
'/app.js',
|
|
|
|
'/app.js',
|
|
|
|
'/components/page.js',
|
|
|
|
'/components/page.js',
|
|
|
|
'/components/layout.js',
|
|
|
|
'/components/layout.js',
|
|
|
|
'/components/header.js',
|
|
|
|
'/components/header.js',
|
|
|
|
'/components/nav-menu.js',
|
|
|
|
'/components/nav-menu.js',
|
|
|
|
|
|
|
|
'/components/page-menu.js',
|
|
|
|
])
|
|
|
|
])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|