Jeff Posnick
Jeff Posnick
Primarily for this use case, but in general, putting it first is not a bad idea. One of the things that might happen in v7 (which didn't make it into...
By default, `sw-precache` will call [`skipWaiting()`](https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle#skip_the_waiting_phase), which will be more aggressive in invalidating previously cached entries and moving new clients to the latest version of the cache. This can lead...
When lazy-loading versioned assets, you can run into problems due to those assets being missing from the remote server due to a number of circumstances. This is unfortunately a common...
In Workbox v5, `workbox-webpack-plugin`'s `GenerateSW` mode uses Rollup under the hood to create its bundled output—it's basically a wrapper on top of `workbox-build`'s `generateSW` mode, with the `webpack` asset pipeline...
Sorry, this unfortunately did not make it into v6.
Here's my understanding; CC: @philipwalton to investigate further. Inside of the constructor for the `Queue` class, there's a call to `this._addSyncListener()`: https://github.com/GoogleChrome/workbox/blob/ce30f36ba192d9e2cbde55365c2c321893b1bde7/packages/workbox-background-sync/src/Queue.ts#L115 Inside of `_addSyncListener()`, there's a check for background...
There's more info at https://stackoverflow.com/a/38835274/385997 In general, a service worker starts and stops pretty frequently—unless, for some reason, you were doing something in a client page that would keep it...
https://github.com/GoogleChrome/workbox/pull/2955 exposes the `QueueStore` and `StorableRequest` classes publicly, and https://github.com/GoogleChrome/workbox/pull/2941 exposes the `size()` of the `QueueStore` used by a `Queue`. Both of those PRs should be part of the upcoming...
Right! Changed.
C.f. https://jeffy.info/2021/10/10/smart-caching-hashes.html