Removed current installCache
This commit is contained in:
parent
c87bc71f89
commit
63757a9edd
@ -329,13 +329,16 @@ class MyServiceWorker {
|
|||||||
}
|
}
|
||||||
|
|
||||||
installCache() {
|
installCache() {
|
||||||
return caches.open(this.cache.version).then(cache => {
|
// TODO: Implement a solution that caches resources with credentials: "same-origin"
|
||||||
return cache.addAll([
|
return Promise.resolve()
|
||||||
"./",
|
|
||||||
"./scripts",
|
// return caches.open(this.cache.version).then(cache => {
|
||||||
"https://fonts.gstatic.com/s/ubuntu/v11/4iCs6KVjbNBYlgoKfw7z.ttf"
|
// return cache.addAll([
|
||||||
])
|
// "./",
|
||||||
})
|
// "./scripts",
|
||||||
|
// "https://fonts.gstatic.com/s/ubuntu/v11/4iCs6KVjbNBYlgoKfw7z.ttf"
|
||||||
|
// ])
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
fromCache(request) {
|
fromCache(request) {
|
||||||
|
Loading…
Reference in New Issue
Block a user