Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TF-3256 Update index.html cache config #3263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tddang-linagora
Copy link
Contributor

@chibenwa
Copy link
Member

chibenwa commented Nov 7, 2024

Please further explain the dark magic going on in here.

Cc @guimard

@tddang-linagora
Copy link
Contributor Author

Please further explain the dark magic going on in here.

4 months ago we updated our workflows to use Flutter 3.22.2. Per https://docs.flutter.dev/platform-integration/web/initialization:

This page describes APIs that are available in Flutter 3.22 and later.

We updated the Flutter version, but not follow it up with the new cache config that comes with it. This MAY fix it. Need to deploys to dev to test it first.


## Consequences

- Twake Mail web use cache resources to improve performance <img src="../images/after-flutter-3.22.png">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, it still not clear about the result of your change with this image. We should mention that: static files, main.dart.js only re-fetch in hard refresh. Open app, and refresh, not make any request to server side.

@tddang-linagora tddang-linagora force-pushed the fixbug/TF-3256-tmail-web-cache-config branch from f1bd3c3 to 0ee45a8 Compare November 15, 2024 07:29
@hoangdat hoangdat changed the title [WIP] TF-3256 Update index.html cache config TF-3256 Update index.html cache config Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants