~/talk

A deep dive into optimizing LCP

Talkat Google I/O 2022 · 2022-05-11..05-12· [web-performance, web-platform]
slides:none on file

Claim: Largest Contentful Paint needs to be broken into four LCP subparts (TTFB, resource load delay, resource load time, render delay) and optimized in order. Uses HTTP Archive lab data (5.3M runs) and cites 52.7% of sites meeting the 2.5 seconds / 75% target. Builds a photo‑slideshow demo with perf.js, preloads, fetch priority, Squoosh CLI to generate AVIF/WebP/JPEG variants, and toggles server‑side rendering and CDN caching; result: resource delay and render delay shrink to near zero following the recipe and LCP improves per trace. 80-20 principle

AI-written summary · about

  1. 0:00Introduction to LCP
  2. 1:06Understanding LCP metrics
  3. 3:07Why LCP is hard to optimize
  4. 4:42Breaking down LCP sub-parts
  5. 8:00LCP optimization goals
  6. 9:36Analysis of HTTP archive data
  7. 12:24Recipe for LCP optimization
  8. 17:37Real world LCP example
  9. 20:53Fixing render delays
  10. 23:24Optimizing image resources
  11. 27:28Final LCP best practices
~/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.