next-pwa
next-pwa copied to clipboard
Service Worker make request pending for minutes
Summary
Service Worker make requests pending for minutes. I have to unregister the service worker to make requests to continue. The problem is related to https://github.com/vercel/next.js/issues/10061
How To Reproduce
The problem happened randomly. I dunno how to reproduce reliably.
Screenshots

@meotimdihia This is probably something else, but something I've run into: Double check if you have "Update on reload" checked in the Chrome Inspector under Application → Service Workers. For me, this makes the size of the local cache (which can be quite large when next-pwa caches the whole public dir proactively) have a huge impact/delay on every network request.
@davidkaneda hi, "update on reload" is unchecked on my browser.