Articles with #lazy-loading

  • Network-aware Preloading Strategy for Angular Lazy Loading
    This post explains how to make network-aware preloading strategy for lazy loading of Angular Router. It can improve user experience with lazy loading despite users network condition. What is Preloading? Preloading is an important feature of Angular Router’s lazy loading. This is available since 2.1.0. By default, when the application uses lazy loading with loadChildren, chunked lazy modules will be loaded on-demand. It can reduce initial bundle size but users have to wait for loading of chunks on transition.