zskarte / zskarte-client

Zivilschutz-Karte allows to draw situation maps for disaster management
https://www.zskarte.ch/
MIT License
13 stars 7 forks source link

A tweak in the ngsw-config.json for the caching. #419

Closed NjoyimPeguy closed 5 months ago

NjoyimPeguy commented 6 months ago

Description

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.