feat: add external images to service worker caching #876
This commit is contained in:
parent
6a22577f04
commit
0a5b4aab61
|
@ -29,6 +29,14 @@
|
|||
"/*.(otf|ttf|woff|woff2)"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "externalAssets",
|
||||
"installMode": "lazy",
|
||||
"updateMode": "prefetch",
|
||||
"resources": {
|
||||
"urls": ["**/*.(png|jpg|jpeg|gif)"]
|
||||
}
|
||||
}
|
||||
],
|
||||
"dataGroups": []
|
||||
|
|
Loading…
Reference in New Issue