Joaquín Sánchez
Joaquín Sánchez
Check alos https://github.com/vite-pwa/sveltekit/issues/65 (it is for `generateSW` strategy but can be used via workbox modules)
If you don't use workbox offline (`registerRoute` + `NavigationRoute`) then you need to handle server errors or offline, check https://github.com/vite-pwa/astro/pull/64/files#diff-3bb71d6b6c9457222283a8b908bb063422dabc0e8db98fe42844cace3191a91bR42-R83
provide a minimal reproduction with your issue 🙏
https://www.bocoup.com/blog/full-stack-web-push-api-guide
Did you change from auto update to prompt? Maybe you've your server serving assets with wrong cache headers, check deployment page in the docs.
@samgholipoor is this issue solved? If so, can we close it?
check if you are using any virtual pwa module; check also if you already have the sw registered (clear storage including the sw) => check your app in private browsing...
Upps, this is nuxt integration sorry. You can disable the plugin in the client options https://github.com/vite-pwa/nuxt/blob/main/src/types.ts#L7C3-L7C17 but then you won't have any utility.
You can use runtime caching + navigateFallbackDenylist instead (registering the sw via plugin), this way the sw will be always there. Check https://github.com/vite-pwa/sveltekit/issues/65 and links in this comment https://github.com/vite-pwa/sveltekit/issues/65#issuecomment-2256556810
Maybe you can use the strategy at elk.zone where we add 2 web manifest per locale, you only need to disable the manifest with false and add a custom module...