chore: offline mode improvements; changed to CacheFirst strategy

This commit is contained in:
2026-03-22 14:10:27 +01:00
parent eae62a8064
commit 89b6361a1c
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ export default defineConfig({
{
urlPattern:
/^https:\/\/stacjownik.spythere.eu\/api\/(getVehiclesData|getDonators|getSceneries)/i,
handler: 'NetworkFirst',
handler: 'CacheFirst',
options: {
cacheName: 'stacjownik-api-cache',
cacheableResponse: { statuses: [0, 200] }