Be lazy, but with strategy
summary
Compares concrete strategies for Angular lazy loading: uses router preloading hooks and observables to delay fetches, measures connection speed by timing downloads of known assets, and inspects navigator hints for device heuristics. Builds a working service that implements a custom preloading strategy and a simple transition matrix based on Markov Chains, which in one case preloads about six modules out of ~60 and noticeably improves perceived navigation speed.
AI-written summary · about
chapters (6)
- 0:00Start
- 2:17Performance using lazy loading
- 7:58Low end device
- 10:18Perfect World
- 11:21Machine learning
- 15:28Conclusion
related talks
21mPreload Strategies: Step in Time, Step in Time!
34mImproving Start-up Performance with Lazy Loading in Angular 2
31mBe lazy, but with strategy
32mImproving Startup Performance with Lazy Loading in Angular
29mAngular Router - Let's Get Lazy!
45mLazy Loading: Supercharge your Angular apps!
30mStep by Step Improving Startup Performance with Lazy Loading in Angular
34mLazy-loading techniques beyond (Angular) router
