Angular project performance

29 views
Skip to first unread message

Shashwat

unread,
Feb 5, 2021, 6:31:32 AM2/5/21
to Angular and AngularJS discussion
Hi All,

I am facing an issue with angular project performance, I have minimized the JS performance has got improved but still it is taking more time to load initially.

pr.PNG

I will be grateful if somebody can suggest what I can do to enhance the performance.

Regards,
Shashwat 

bastien lemaire

unread,
Feb 5, 2021, 6:55:51 AM2/5/21
to ang...@googlegroups.com
30 seconds to download 600kb ?? it seems you have a slow internet connection resulting in a slow application because the time to download the files is long.
How does it behave locally ?

Bastien Lemaire


--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/angular/2761e54d-d55d-443b-85b1-0f60151f8d55n%40googlegroups.com.

Shashwat

unread,
Feb 5, 2021, 7:41:29 AM2/5/21
to Angular and AngularJS discussion
Hi Bastien,

Thanks for replying.

Internet speed seems not to be the issue because the same thing is happening over my colleague's system as well. I can assure you of internet speed is good.

Locally it loads really fast. 

Before js compression, it used to take time on localhost as well.I have optimized build by npm run env -s && ng build --prod --aot --vendor-chunk --common-chunk --delete-output-path --buildOptimizer

Regards,
Shashwat
Reply all
Reply to author
Forward
0 new messages