Skip to content

Commit 5d01494

Browse files
committed
additional caching added
1 parent bb42f80 commit 5d01494

File tree

2 files changed

+46
-2
lines changed

2 files changed

+46
-2
lines changed

projects/v3/ngsw-config.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,19 @@
2626
]
2727
}
2828
}
29+
],
30+
"dataGroups": [
31+
{
32+
"name": "core-api-data",
33+
"urls": [
34+
"https://admin.p2-stage.practera.com/api/*"
35+
],
36+
"cacheConfig": {
37+
"strategy": "freshness",
38+
"maxSize": 50,
39+
"maxAge": "12h",
40+
"timeout": "10s"
41+
}
42+
}
2943
]
3044
}

projects/v3/src/manifest.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,43 @@
11
{
2-
"name": "Practera AppV3",
3-
"short_name": "AppV3",
2+
"name": "Practera App",
3+
"short_name": "App",
44
"start_url": "index.html",
55
"display": "standalone",
66
"icons": [
77
{
88
"src": "assets/icon/favicon.ico",
99
"sizes": "140x150",
1010
"type": "image/png"
11+
},
12+
{
13+
"src": "assets/icons/icon-72x72.png",
14+
"sizes": "72x72",
15+
"type": "image/png"
16+
},
17+
{
18+
"src": "assets/icons/icon-96x96.png",
19+
"sizes": "96x96",
20+
"type": "image/png"
21+
},
22+
{
23+
"src": "assets/icons/icon-128x128.png",
24+
"sizes": "128x128",
25+
"type": "image/png"
26+
},
27+
{
28+
"src": "assets/icons/icon-144x144.png",
29+
"sizes": "144x144",
30+
"type": "image/png"
31+
},
32+
{
33+
"src": "assets/icons/icon-192x192.png",
34+
"sizes": "192x192",
35+
"type": "image/png"
36+
},
37+
{
38+
"src": "assets/icons/icon-512x512.png",
39+
"sizes": "512x512",
40+
"type": "image/png"
1141
}
1242
],
1343
"background_color": "#2bbfd4",

0 commit comments

Comments
 (0)