ngsw-config.json
{
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/index.html",
"/*.js",
"/*.css",
"/*.woff2",
"/*.tff"
]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/*.svg",
"/assets/**",
"!**/keycloak.json"
]
}
}
],
"dataGroups": [
{
"name": "config",
"urls": [
"**/assets/config.json",
"**/assets/keycloak.json"
],
"cacheConfig": {
"maxSize": 1,
"maxAge": "30d",
"strategy": "freshness"
}
},
{
"name": "attachments",
"urls": [
"**/app-attachments/*/*"
],
"cacheConfig": {
"maxSize": 500,
"maxAge": "100d",
"strategy": "freshness",
"timeout": "0u"
}
}
],
"navigationUrls": [
"/**",
"!/**/*.*",
"!/**/*__*",
"!/**/*__*/**",
"!/db/",
"!/db/**"
]
}