Files
front/ngsw-config.json
T
2026-10-07 18:25:55 +03:00

45 lines
956 B
JSON

{
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
"navigationUrls": ["/**", "!/admin", "!/admin/**"],
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/favicon.svg",
"/index.csr.html",
"/index.html",
"/manifest.webmanifest",
"/*.css",
"/*.js"
]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": ["/**/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"]
}
}
],
"dataGroups": [
{
"name": "fonts",
"urls": ["https://fonts.googleapis.com/**", "https://fonts.gstatic.com/**"],
"cacheConfig": {
"maxSize": 20,
"maxAge": "30d",
"strategy": "performance"
}
}
]
}