Changed the installMode in ngsw-config.json from lazy to prefetch. This change will cause all resources to be fetched and cached when the app is installed, rather than waiting until they're needed. This will enhance the offline experience for users, as all resources will be available offline after the app is installed.
Type of Change
This is an enhancement that affects offline usage. It does not introduce any new features or fix any bugs, but it will cause the app to take longer to load one the user's device.
How Has This Been Tested?
Tested by installing the app and verifying that all resources are available while offline.
Description
Changed the
installMode
inngsw-config.json
fromlazy
toprefetch
. This change will cause all resources to be fetched and cached when the app is installed, rather than waiting until they're needed. This will enhance the offline experience for users, as all resources will be available offline after the app is installed.Type of Change
This is an enhancement that affects offline usage. It does not introduce any new features or fix any bugs, but it will cause the app to take longer to load one the user's device.
How Has This Been Tested?
Tested by installing the app and verifying that all resources are available while offline.