I’m looking for ways to optimize Ember app boot speed. I have tested my deployed app with throttling (regular 3G - 750kb/s). The results are terrifying: https://gyazo.com/2e1b3677fe8460e38cfad348fdffc4c6. Red arrow shows time when app become usable for users (~9s). Ofc, with cache it not so bad - 2.5s, but still, I think it’s too much for fully cached web app.
Now I see a few bottlenecks that can be potentially optimized.
- Vendor.js - size ~280kb (with gzip, and 1.1mb without). Is there a way to minify/uglify harder then default by ember cli?
- EmberJS initializing & rendering. It is hard to me to measure its time correctly, but I believe that took good part of init time. Are there some rules/tricks/best practices to optimize this?
Also I will glad to hear any advices about performance optimization.