first commit
This commit is contained in:
commit
62506c830a
1207 changed files with 40706 additions and 0 deletions
90
ngsw-config.json
Normal file
90
ngsw-config.json
Normal file
|
@ -0,0 +1,90 @@
|
|||
{
|
||||
"$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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue