Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

4
Improving flutter web initial load time for cross-platform app
Post Flair (click to view more posts with a particular flair)
Post Body

Hello! Does anyone have any resources to share on speeding up flutter web's initial load time? I've seen deferred loading (this is cross-platform and that is web-only so not a great option) and am building in release mode (with tree shaking) and the canvaskit web-renderer. The First contentful paint time in production is around 2.07s and the Time to interactive time is 2.45s. Running locally the FCP is 1.6s and the TTI is 3.04s. I've also seen as bad as close to 3s FCP and over 5s TTI. There are a lot of custom fonts and custom SVG icons that need to be loaded prior to any network calls are even made, so that may play a part. Any resources or ideas would be greatly appreciated! Building locally with flutter build web --release --web-renderer canvaskit results in a 4.8 MB main.dart.js file, which seems pretty large.

Author
Account Strength
80%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
81
Link Karma
26
Comment Karma
55
Profile updated: 6 days ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago