Skip to content

Releases: JELaVallee/flutter-gh-pages

Added pwaCachingStrategy build param

18 Oct 15:36
e12e2b8
Compare
Choose a tag to compare
Pre-release

Minor update to extend the parameter passing to the flutter-build step of the action to allow for passing of the pwa-strategy build parameter. This allows the use of the none strategy in situations where the flutter web-builder generated flutter_service_worker.js is misbehaving on deployments (e.g. gh-pages). Defaults to the flutter web-builder's default of offline-first.

NOTE: Using the 'none' strategy will cause a flutter-web based PWA to always load from web and use no asset caching.