~/talk

Step by Step Improving Startup Performance with Lazy Loading in Angular

Talkat ng-conf 2017 · 2017-04-05..04-07· [angular, web-performance]
slides:none on file

Claim: lazy loading cuts initial bundle size and improves startup time while ngtools/CLI plus webpack chunking actually produces distinct files (demo shows a 5.chunk.js loaded on demand). Preloading via preloadAllModules fetches lazy bundles shortly after the shell (demo timing ~2s), removing the runtime loading delay. Pitfall: lazy modules get separate DI scopes so a shared service duplicates; fixable by a core module or the forRoot pattern (demo switches to forRoot and the shared service state remains intact).

AI-written summary · about

  1. 0:00Start
  2. 0:46Contents
  3. 1:41Module Structure
  4. 2:50Root Module with Lazy Loading
  5. 3:39Routes for Feature Module
  6. 3:58Build Configuration
  7. 7:34Activating Preloading
  8. 21:00Solution (for Libraries)
  9. 22:27Auth Module
  10. 28:02Summary
~/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.