Modern Angular Design PatternsBuy the book
PreviousNext

Chapter 9: Lazy Loading and Performance Optimization

Reducing bundle size and improving startup time with lazy loading and optimization techniques.

  • Lazy routes
  • Preloading
  • Feature flags
  • Images

What you can try in this demo

Six demos focus on startup time: lazy-loaded standalone components and routes, preloading strategies, and images served with NgOptimizedImage. Feature flags decide which features load at all, and a section on Angular CLI build options covers the rest.

This demo is chapter 9 of Modern Angular Design Patterns. The book walks through the code behind it.

Buy the book