website/ngsw-config.json

44 lines
1.0 KiB
JSON
Raw Normal View History

2018-07-03 10:10:47 -04:00
{
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": ["/index.html", "/*.css", "/*.js"]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
2018-07-14 14:13:53 -04:00
"files": ["/assets/**"]
}
},
{
"name": "external assets",
"installMode": "prefetch",
"updateMode": "prefetch",
"resources": {
2018-07-14 13:56:27 -04:00
"urls": [
2018-07-14 14:38:35 -04:00
"https://firebasestorage.googleapis.com/v0/b/fhsons-7e90b.appspot.com/o/**?alt=media*",
2018-07-14 13:56:27 -04:00
"https://use.fontawesome.com/releases/v5.1.0/css/all.css",
"https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css",
"https://fonts.googleapis.com/**"
]
2018-07-14 13:41:54 -04:00
}
2018-07-03 10:10:47 -04:00
}
2018-07-14 14:38:35 -04:00
],
"dataGroups": [
{
"name": "firestore",
"urls": ["https://firestore.googleapis.com/**"],
2018-07-14 14:42:09 -04:00
"cacheConfig": {
2018-07-14 14:45:18 -04:00
"timeout": "1000",
2018-07-14 14:42:09 -04:00
"strategy": "freshness"
}
2018-07-14 14:38:35 -04:00
}
2018-07-03 10:10:47 -04:00
]
}