I'm writing an Angular PWA (Angular Version 8.2), and I have some troubles with automatic updates on iOS. I therefore thought of triggering the service worker's checkForUpdate regularly (as described in Checking for updates), and forcing the update activation as described in Forcing update activation if an update is available. The angular documentation states however, that forcing update activation might brake lazy-loading:
Doing this could break lazy-loading into currently running apps, especially if the lazy-loaded chunks use filenames with hashes, which change every version.
Looking through angular's service worker implementation (and documentation), I can not figure out, why or in what scenario this could break lazy-loading.
I would appreciate if anyone could explain, why this would break lazy-loading.