~/talk

Preload Strategies: Step in Time, Step in Time!

slides:none on file

Shows three concrete preload strategies implemented for Angular: an opt-in via route data that marks specific lazy modules to fetch, an on‑demand service (an RxJS Subject with startPreload(path)) that preloads on hover/click, and a network‑aware strategy using navigator.connection and Save‑Data to skip slow links. Demo implements Angular’s PreloadingStrategy interface, prefetches bundles so route navigation becomes snappy (demo app goes interactive ≈10s on simulated 3G and subsequent routes load immediately). Code on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Two Impossible Choices
  3. 0:54Keen and Lazy Loading
  4. 2:24How Preload Works
  5. 4:01Navigating to a Route
  6. 4:40Preload Strategies
  7. 5:36How Preloading Works
  8. 6:04Preloading Options
  9. 8:31Preload Strategy Interface
  10. 8:49Custom Preload Strategy
  11. 9:02Optin Preload
  12. 11:29OnDemand Preload
  13. 17:30Network Aware
  14. 18:19Optin
  15. 19:00Final Tips
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.