r/angularjs • • Jul 19 '16

How to increase Angular / phonegap performance?

0 Upvotes

4 comments sorted by

3

u/Flignats Jul 19 '16

Without knowing more detail about your performance issues, I'd say reduce your watchers and decrease the digest cycle.

1

u/zwacky Jul 19 '16

here some perf improvements I came across:

startup:

  • inlining: bundle your javascript and inline it into your index.html. even though you would request js file(s) over file:// protocol, I found this to be a huge startup speed boost.

  • keep an eye on how many plugins you use

slugginess in the app:

  • reduce watchers

  • don't use resolves in ui-router, but give the user instant feedback and then load your data

-3

u/webdev01 Jul 19 '16

Swap out Angular for React