~/talk

Core Web Vitals: How to make your angular app feel like a dream

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [angular, web-performance]
slides:none on file

Explains concrete thresholds and fixes: LCP <2.5s is good, 2.5–4s needs work, >4s is poor; CLS <0.1 good, 0.1–0.25 needs work, >0.25 poor; INP <200ms good, 200–500ms needs work, >500ms forces a JS rewrite. Shows measurement with web-vitals.js, Lighthouse and RUM (e.g. Datadog) and lab vs field data, and practical fixes for Angular: preload / preload as, defer/deferrable views and ngComponentOutlet plus ngOptimizedImage, control flow, runOutsideAngular / experimental withoutNgZone and setTimeout/microtask patterns.

AI-written summary · about

  1. 0:00Introduction to Core Web Vitals
  2. 1:49Understanding UX metrics
  3. 3:51Measuring performance
  4. 5:58Largest Contentful Paint (LCP)
  5. 8:19Optimizing LCP in Angular
  6. 12:18Angular loading strategies
  7. 17:23Cumulative Layout Shift (CLS)
  8. 20:28CLS solutions in Angular
  9. 22:37Interaction to Next Paint (INP)
  10. 27:24Optimizing INP via JS basics
  11. 31:01Advanced performance techniques
  12. 36:12Conclusion and Q&A
~/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.