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
The text was updated successfully, but these errors were encountered:
BezMaster
changed the title
Workbox 5.1.3 to 6.0.2 precache installation time increases a lot in 6.0.2
Workbox migration from 5.1.3 to 6.0.2 (precache installation time increases a lot in 6.0.2)
Jan 18, 2021
What you describe sounds intentional, due to this change:
workbox-precaching has been updated so that only one entry in the precache manifest is requested and cached at a time, instead of attempting to request and cache all of them at once (leaving it to the browser to figure out how to throttle).
This should reduce the likelihood of net::ERR_INSUFFICIENT_RESOURCES errors while precaching, and also should reduce the bandwidth contention between precaching and simultaneous requests made by the web app.
Library Affected:
workbox-sw, workbox-build, etc.
Browser & Platform:
Version 81.0.4044.92 (Build officiel) (64 bits) & Linux Ubuntu 18.04.4 LTS
Issue or Feature Request Description:
Migration from Workbox 5.1.3 to 6.0.2
I have an issue with the new workbox 6.0.2 version.
I call the same functions as before in version 5.1.3 in my sw.js. It works fine.
But the precache installation duration is 5 times longer with 6.0.2. I don't understand why.
Is there a way to have the same precache installation speed than in 5.1.3 ?
Is there a good reason to justify this difference ?
You can find a sample of my sw.js just there
Thanks a lot
The text was updated successfully, but these errors were encountered: