on-internet
← Community

With service workers, I'm struggling to understand navigationPreload

Stack Overflow ·

I'm following the MDN article Using Service Workers, and the Progressier article Handling Service Worker updates. The essence of my question is, why do we need navigationPreload to be enabled at service worker activate when we have already cached our resources at service worker install? I have read the MDN document NavigationPreloadManager, but I'm still confused: The NavigationPreloadManager provides a mechanism to allow fetching of the resources to run in parallel with service worker boot, so that by the time the worker is able to handle the fetch request from the browser, the resource may a

Comments

Sign in or sign up to comment and upvote.

No comments yet.