How to optimize the Angular app?

Anil Kumar
Mar 6, 2024

By implementing below points

  1. AOT
  2. Tree shaking
  3. Lazy loading
  4. Change Detection to onPush
  5. Pure pipes
  6. Immutable data
  7. Avoid expensive operation in html template
  8. wisely use NgZone
  9. Lesser no of request
  10. Reducing size if image and assests
  11. Use caching server , Server side, client side
  12. Minimize thirdparty lib
  13. DRY No duplicate code
  14. foor loop use trackby
  15. Signals
  16. Web workers
  17. Use CDN
  18. Unsubscribe

--

--