Uri Shaked
1 min readJul 8, 2017

--

Thank you for your feedback Huy!

Here are a few suggestions that can help:

  1. Make sure compression is enabled on your web server. This is a really low hanging fruit and can significantly improve the loading time of the page
  2. As mentioned in the post, you can use source-map-explorer to check why the production bundle size is large. Many times I see developers import a huge library for just a single function that they actually need. A common example is including the entire “rxjs” library instead of importing only the operators you need
  3. If you application bundle is still large, enable code splitting + Lazy Loading (tutorial, another tutorial)

I don’t currently do consulting, but I have a couple of friends who do. If you want me to make a connection, feel free to ping me on twitter.

--

--

Uri Shaked
Uri Shaked

Written by Uri Shaked

Google Developer Expert for Web Technologies, Maker and Public Speaker

Responses (2)