Lower the amount of cache routes at SW installation
This commit is contained in:
parent
7af6ec2790
commit
fe65407e7b
@ -319,12 +319,10 @@ class MyServiceWorker {
|
|||||||
async installCache() {
|
async installCache() {
|
||||||
let urls = [
|
let urls = [
|
||||||
"/",
|
"/",
|
||||||
"/_/",
|
|
||||||
"/scripts",
|
"/scripts",
|
||||||
"/styles",
|
"/styles",
|
||||||
"/manifest.json",
|
"/manifest.json",
|
||||||
"https://media.notify.moe/images/elements/noise-strong.png",
|
"https://media.notify.moe/images/elements/noise-strong.png",
|
||||||
"https://fonts.gstatic.com/s/ubuntu/v11/4iCs6KVjbNBYlgoKfw72.woff2"
|
|
||||||
]
|
]
|
||||||
|
|
||||||
let promises = []
|
let promises = []
|
||||||
|
Loading…
Reference in New Issue
Block a user