2020-05-13 14:41:43 +02:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
|
|
|
|
"index": "/index.html",
|
|
|
|
"assetGroups": [
|
|
|
|
{
|
|
|
|
"name": "app",
|
|
|
|
"installMode": "prefetch",
|
|
|
|
"resources": {
|
|
|
|
"files": [
|
|
|
|
"/favicon.ico",
|
|
|
|
"/index.html",
|
|
|
|
"/manifest.webmanifest",
|
2020-11-27 16:32:14 +01:00
|
|
|
"/assets/i18n/**",
|
2020-05-13 14:41:43 +02:00
|
|
|
"/*.css",
|
|
|
|
"/*.js"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"name": "assets",
|
|
|
|
"installMode": "lazy",
|
|
|
|
"updateMode": "prefetch",
|
|
|
|
"resources": {
|
|
|
|
"files": [
|
|
|
|
"/assets/**",
|
2020-11-27 16:32:14 +01:00
|
|
|
"!/assets/i18n/**",
|
2020-05-13 14:41:43 +02:00
|
|
|
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"dataGroups": [
|
|
|
|
{
|
|
|
|
"name": "api-freshness",
|
|
|
|
"urls": [
|
|
|
|
"/GetMyzitadelPermissions"
|
|
|
|
],
|
|
|
|
"cacheConfig": {
|
|
|
|
"strategy": "freshness",
|
|
|
|
"maxSize": 100,
|
|
|
|
"maxAge": "1d",
|
|
|
|
"timeout": "0s"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|