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
Issue or Feature Request Description:
When trying to use workbox-broadcast-cache-update for navigation requests using the StaleWhileRevalidate for which there is an update (using the Last-Modified header), I get the following error:
Uncaught (in promise) TypeError: Deferred_mjs.Deferred is not a constructor
at BroadcastCacheUpdate._windowReadyOrTimeout (BroadcastCacheUpdate.mjs:154)
at sendUpdate (BroadcastCacheUpdate.mjs:106)
at BroadcastCacheUpdate.notifyIfUpdated (BroadcastCacheUpdate.mjs:112)
at Plugin.cacheDidUpdate (Plugin.mjs:80)
at Object.putWrapper [as put] (cacheWrapper.mjs:99)
I am already using workbox-broadcast-cache-update with native Fetch API requests on loaded pages and it's working great. Something to do here with the page not being loaded? Is there a workaround or is there is no way to use BroadcastCacheUpdate for navigation requests?
The text was updated successfully, but these errors were encountered:
Library Affected:
workbox-broadcast-cache-update
Browser & Platform:
Chrome
Issue or Feature Request Description:
When trying to use workbox-broadcast-cache-update for navigation requests using the StaleWhileRevalidate for which there is an update (using the Last-Modified header), I get the following error:
I am already using workbox-broadcast-cache-update with native Fetch API requests on loaded pages and it's working great. Something to do here with the page not being loaded? Is there a workaround or is there is no way to use BroadcastCacheUpdate for navigation requests?
The text was updated successfully, but these errors were encountered: