You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed vite-pwa/nuxt in my nuxt3 project, I kept getting users with old caches from service worker.
ServiceWorker was installed on 'example.com'.
the main domain was changed to 'www.example.com', and accessing 'example.com' should be redirected to 'www.example.com'.
since then, our site has uninstalled the service worker by adding the "selfDestroying:true" option in the config.
however, when some users enter 'example.com', they see a site with an old version of the cache left over from the service worker. Also, they are not redirected to 'www.example.com'.
(No problem when accessing 'www.example.com')
Is there a solution to fix this?
The text was updated successfully, but these errors were encountered:
nowhhk
changed the title
How to completely delete old service workers and cache from a user's browser?
How to remove a Service Worker installed before redirection
Mar 3, 2024
I installed vite-pwa/nuxt in my nuxt3 project, I kept getting users with old caches from service worker.
(No problem when accessing 'www.example.com')
Is there a solution to fix this?
The text was updated successfully, but these errors were encountered: