Instant Navigation in SPAs
summary
Shows how an Angular demo app and a preload strategy cut navigation LCP from ~2.3s to ~60ms by preloading route bundles, images and route data; uses speculative rules API concepts, an implementation like ngx-quicklink to preload route bundles, and a custom pre-resolvers layer that fetches and caches API responses ahead of click. Includes link preload for images, a simple PerformanceObserver script for LCP measurement, and a production case claiming ~75% faster secondary navigations on Bwin.
AI-written summary · about
chapters (11)
- 0:00Introduction to instant navigation
- 1:58Measuring navigation performance
- 3:23Soft navigation concept
- 5:48Speculative rules API limits
- 6:54Quicklink and pre-resolvers
- 9:41Optimizing critical resources
- 10:45Render delay optimization
- 11:06Code implementation demo
- 13:54Live performance comparison
- 16:04Production results and demo
- 16:46Open sourcing plans
