{ "$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", "/*.css", "/*.js"] } }, { "name": "assets", "installMode": "lazy", "updateMode": "prefetch", "resources": { "files": ["/assets/**", "/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"] } } ], "dataGroups": [ { "name": "ghost", "urls": ["/blog/**"], "cacheConfig": { "strategy": "freshness", "maxSize": 10000, "maxAge": "12h", "timeout": "5s" } }, { "name": "api", "urls": ["/api/**"], "cacheConfig": { "strategy": "freshness", "maxSize": 10000, "maxAge": "12h", "timeout": "5s" } } ] }