79292377

Date: 2024-12-18 20:18:55
Score: 1
Natty:
Report link

In the last month or so, Flutter updated its Web FAQ with a section dedicated to cache concerns:

https://docs.flutter.dev/platform-integration/web/faq#why-doesnt-my-app-update-immediately-after-its-deployed

They outline a few different strategies, including how to force an app download after a new deployment. One thing in particular that may be necessary is to disable the service worker (as described at the end), assuming you don't need PWA functionality. But you may need to try several of these strategies before finding one that works.

Cache busting has been one of our team's pain points with Flutter Web, but it's good to see the Flutter team starting to address this.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Eli G