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
In v2, we implicitly used workbox-broadcast-cache-update as part of workbox-precaching's RequestWrapper, and announced changes to precached resources via a standard channel name.
We're not doing this in v3 right now. I'd argue that it's useful in theory, but at the same time, I don't think developers really took advantage to it, and there's obviously a hit in terms of extra runtime code.
We could:
Not implement this in v3.
Implement it by default in v3, matching v2's behavior.
Implement as an opt-in in v3. (I'm assuming that we'd still take the hit in default bundle size if we took that approach?)
The text was updated successfully, but these errors were encountered:
I don't think there is currently a way to add plugins, so I would be in favor of making that possible in the default precaching export and just provide a guide that explained how and why you would do this.
Library Affected:
workbox-precaching
In v2, we implicitly used
workbox-broadcast-cache-update
as part ofworkbox-precaching
'sRequestWrapper
, and announced changes to precached resources via a standard channel name.We're not doing this in v3 right now. I'd argue that it's useful in theory, but at the same time, I don't think developers really took advantage to it, and there's obviously a hit in terms of extra runtime code.
We could:
The text was updated successfully, but these errors were encountered: