💀Retiring a Stale Service Worker After a Framework Migration Using a Kill-Switch SW
Immediately after migrating a Nuxt 2 + @nuxtjs/pwa SPA to a different framework, some users kept seeing frozen, outdated HTML. The cause was the old Service Worker's cache-first strategy. This post documents the procedure for retiring it by serving a kill-switch SW at the same URL.
serviceworkerpwanuxtnextjs