{ "$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/**", "/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)" ] } } ], "dataGroups": [ { "name": "api", "urls": [ "/v1/**" ], "cacheConfig": { "strategy": "freshness", "maxSize": 1000, "maxAge": "7d", "timeout": "0u" } }, { "name": "tiles", "urls": [ "/tiles/**" ], "cacheConfig": { "strategy": "performance", "maxSize": 5000, "maxAge": "14d" } }, { "name": "plantekey", "urls": [ "/plantekey/**" ], "cacheConfig": { "strategy": "performance", "maxSize": 1000, "maxAge": "7d" } }, { "name": "cache", "urls": [ "/static/cache/**" ], "cacheConfig": { "strategy": "freshness", "maxSize": 10000, "maxAge": "7d", "timeout": "0u" } }, { "name": "attachments", "urls": [ "/attachment/**" ], "cacheConfig": { "strategy": "freshness", "maxSize": 10000, "maxAge": "180d", "timeout": "0u" } } ] }