1. 17
    Avoid delays for lazy modules by applying a preloading strategy with the Angular router
    2m 11s

Avoid delays for lazy modules by applying a preloading strategy with the Angular router

Share this video with your friends

Send Tweet

Lazy loading your Angular modules has some substantial performance benefits at application startup. However, when the user then activates a lazy loaded route, there’s the cost of having to wait for that Angular module to be fetched and fully loaded. To mitigate this issue, the Angular router gives us the possibility to preload a lazy loaded route at runtime.