Files
front/ngsw-config.json
T
2026-10-13 14:08:22 +03:00

53 lines
1.0 KiB
JSON

{
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
"navigationUrls": [
"/**",
"!/**/*.*",
"!/**/*__*",
"!/**/*__*/**",
"!/admin",
"!/admin/**"
],
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/apple-touch-icon.png",
"/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"
}
}
]
}