Discussion:
[AngularJS] Angular 4 Performance in mobile
ravi kiran
2018-12-06 05:01:40 UTC
Permalink
Hi All,

we are using angular 4.2.4 version. after giving the ng build with prod and
optimization commands the size of main bundle is 3.45MB and vendor bundle
size is 1.7MB. if i am trying to load the application in slow 3G mobile its
taking more than a minute to load. we tried roasterio, angular universal we
have thrid party library issues. I am using angular cli. is there any way
to shrink the bundle size or load the website under 3 seconds in mobile.
one possible way is divide the application into more feature modules and
load on the go but it takes time for us. we need some immediate solution
which boost the performance in mobile.

Thank you
Ravikiran
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
ravi kiran
2018-12-06 05:01:23 UTC
Permalink
Hi All,

we are using angular 4.2.4 version. after giving the ng build with prod and
optimization commands the size of main bundle is 3.45MB and vendor bundle
size is 1.7MB. if i am trying to load the application in slow 3G mobile its
taking more than a minute to load. we tried roasterio, angular universal we
have thrid party library issues. I am using angular cli. is there any way
to shrink the bundle size or load the website under 3 seconds in mobile.
one possible way is divide the application into more feature modules and
load on the go but it takes time for us. we need some immediate solution
which boost the performance in mobile.

Thank you
Ravikiran
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Sander Elias
2018-12-08 07:31:40 UTC
Permalink
Hi Ravi,

Update to version 7 will help a bit. Ivy will help a lot once released.
Drop the problematic 3rth parties will help also. But there is no way you
can drop under 3 seconds without splitting up, and use lazy loading.
I don't know your time-frame. Ivy will make your job simpler on every step
along the way.

Regards
Sander
--
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+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Loading...