Angular · Senior · Question 29 of 75

How do you preload lazy routes after the initial page has loaded?

Explanation

Preloading keeps the initial bundle small and still makes later navigation instant. A custom strategy can preload only routes flagged in data, or only on fast connections.

Further reading

Problem with a question

Angular · Senior · question 29

Test yourself

Take the Angular · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz