~/talk

Improving Start-up Performance with Lazy Loading in Angular 2

Talkat NG-BE 2016 · 2016-12-08..12-09· [angular, web-performance]
slides:none on file

A working Angular 2 example converts an eager app into lazy modules so webpack emits a separate chunk that loads on navigation, proving angular 2 router loader splits bundles and lazy loading actually reduces initial payload. A canLoad guard blocks module download until authentication, and a custom preloading strategy with a seven second delay plus support for preloadAllModules and a route data flag demonstrates staged prefetching. The shared service duplication bug is fixed with the forRoot shared module pattern and the demo restores the username suggestion so the solution works.

AI-written summary · about

  1. 0:00Introduction
  2. 0:52Lazy Loading
  3. 3:53Demonstration
  4. 12:19offguard
  5. 16:13preloading
  6. 25:54Model Structure
  7. 28:06Model Extension
  8. 29:11Demo
  9. 31:39Summary
~/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.