~/talk

Optimized Angular apps: smaller, faster, better

Talkat Jfokus 2019 · 2019-02-04..02-06· [angular, web-performance]
slides:none on file

Uses concrete Angular tools and numbers: check bundles with source-map-explorer (example removed an unused snackbar and saved ~3.5 KB), build for production, split routes with lazy loading via loadChildren and optional preloading, add offline caching with ng add @angular/pwa and tune performance vs freshness in ngsw-config.json, use SSR or prerendering with Angular Universal for faster first meaningful paint. Performance recipes for change detection: prefer pipes and memoization (lodash.memoize or decorators), set OnPush change detection, run heavy work outside Angular, and use trackBy in ngFor.

AI-written summary · about

  1. 0:00Intro
  2. 0:43Maxim Salnikov
  3. 7:37Use lazy loading
  4. 10:20Preloading strategy
  5. 13:58NGSW configuration file
  6. 14:24Runtime caching
  7. 14:55Keep in mind
  8. 24:19Angular change detection (CD)
  9. 27:40Use pure pipes instead of methods
  10. 29:14Using method
  11. 32:04Memoization
  12. 38:02ChangeDetection Strategy.Default
  13. 39:29Go for your own CD schedule
  14. 43:34Angular App Performance
~/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.