-3

I'm trying to figure out what takes so long to load on the web application we are building. Here's the chrome developer tool network tab

Why is there a gap between scripts/stylesheet and the HTML?

Chrome Network

PowerLove
  • 303
  • 8
  • 25
  • The gap between the vendor bundle being fully downloaded and starting to fetch e.g .`beta-banner-left.png` is presumably where the interpreter is loading and bootstrapping the Angular application. – jonrsharpe Mar 05 '18 at 19:52
  • Would there be a way to improve the loading time? – PowerLove Mar 05 '18 at 19:57
  • 1
    Did you do any research? Have a look at e.g. https://stackoverflow.com/q/40894704/3001761 – jonrsharpe Mar 05 '18 at 19:58

2 Answers2

0

Load your library JS and relative css files from CDN location. It will give good performance improvement.

0

You can try use --prod flag for your ng serve or ng build

  • ng serve --prod
  • ng build --prod