Commit 02fd7e88 authored by Janik Münzenberger's avatar Janik Münzenberger
Browse files

Updated service worker config

parent e7b14c8c
......@@ -25,6 +25,7 @@
"resources": {
"files": [
"/assets/img/*.jpg",
"/assets/img/*.webp",
"/assets/icons/*.png"
]
}
......@@ -35,7 +36,7 @@
"urls": ["/plants/*", "/diseases/*"],
"cacheConfig": {
"strategy": "freshness",
"maxAge": "3d",
"maxAge": "7d",
"timeout": "3s"
}
},{
......@@ -46,5 +47,13 @@
"maxAge": "3d",
"timeout": "2s"
}
},{
"name": "gardeners-api",
"urls": ["/gardeners"],
"cacheConfig": {
"strategy": "freshness",
"maxAge": "7d",
"timeout": "2s"
}
}]
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment