Jeff Posnick
Jeff Posnick
Before you spend too much more time debugging this, can you try a quick swap from using `workbox-core`'s `skipWaiting()` to using `self.skipWaiting()` instead, and see if that resolves things? (You...
That's very strange. What happens if you go to [Chrome's DevTools](https://developers.google.com/web/ilt/pwa/tools-for-pwa-developers#force_update_the_service_worker) and manually click on the "skipWaiting" link that you should see next to the waiting service worker?
Ah, okay, glad that there's an explanation! Service workers don't intercept WebSocket requests, but they can be used with the [Streams API](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API), and they also explicitly *do* intercept SSE, as...
Thanks, @wanderview. Any thoughts on those final two points, where adding in an explicit `event.waitUntil()` prior to the `event.respondWith()` leads to different behavior? Does that sound like a browser bug,...
Gotcha. If the browser technically _shouldn't_ require that explicit `event.waitUntil()`, then I'd rather not add it in to Workbox to work around the reported behavior. @andyrichardson, what if we added...
Thanks for letting us know! @tropicadri, can you investigate and see if this is related to the [IndexedDB changes](https://github.com/GoogleChrome/workbox/pull/2838) introduced in v6.2.0?
Generally speaking, it's a [best practice](https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle#avoid-url-change) to keep the same URL for your service worker across deployments. I understand that in your specific use case, the top-level service worker would...
You can read some background on this new behavior introduced in Workbox v6 at https://github.com/GoogleChrome/workbox/issues/2528 Basically, we went from not imposing a limit at all—which would sometimes incur `net::ERR_INSUFFICIENT_RESOURCES` errors,...
By the way, could you explain a bit more _why_ your web application can't do anything until after the service worker has fully installed? Service workers are normally intended to...
"[The Offline Cookbook](https://web.dev/offline-cookbook/)" offers an overview of various ways a service worker can be used to cache and keep content up to date. Roughly speaking, each of the concepts in...