Issue
I have created Angular Application in single module fully, after final deploy files are more than 8 Mb so for First time loading time is too slow,
i have tried with --prod now the file size is around 5MB
is there any other possible to speed up
Solution
Since you already used --prod mode, next best options that i know are :
- If possible split the single module into a bunch of smaller feature modules and lazy load them.
- Remove unnecessary scripts and styles from index.html and load it at component levels.
Answered By - Pavan Skipo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.