impr: disable sw caching for version file

!nuf
This commit is contained in:
Miodec 2024-07-27 13:42:25 +02:00
parent 13a15c94d6
commit f96b8efdaa

View file

@ -123,6 +123,14 @@ export default {
handler: "NetworkFirst",
options: {},
},
{
urlPattern: (options) => {
//disable caching for version.json
return options.url.pathname === "/version.json";
},
handler: "NetworkOnly",
options: {},
},
],
},
}),