High load times at Web due to font files. Why?

Project Settings

My lightweight web app has an initial load time of over 4 seconds. I have been investigating it. I realized that the font files take extremely long to load. They are all pretty big:


I read into the topic and found out that normally when you build the app for the web for release, the font files get "tree shaken". Indeed, when I download the code and build the app locally with flutter build web --release, they get >99% smaller.

So why are the font files so big and take long to load when I build and publish via FlutterFlow?

What have you tried so far?

See above

Did you check FlutterFlow's Documentation for this topic?
Yes
2
2 replies