chore: changed pwa strategy

This commit is contained in:
2024-06-10 00:36:30 +02:00
parent 4e7fba89ee
commit fc7662e431
+1 -1
View File
@@ -26,7 +26,7 @@ export default defineConfig({
{
urlPattern:
/^https:\/\/stacjownik.spythere.eu\/api\/(getVehicles|getDonators|getSceneries)/i,
handler: 'NetworkFirst',
handler: 'StaleWhileRevalidate',
options: {
cacheName: 'stacjownik-api-cache',
cacheableResponse: {