~/talk

Optimising Core Web Vitals with web fonts

Talkat WebExpo 2022 · 2022-06-10..06-12· [web-performance, web-platform]
slides:none on file

Custom web fonts frequently push Core Web Vitals over the limits: LCP 2.5s, FID 100ms, CLS 0.1 — fonts can delay LCP by blocking text render, cause long tasks that inflate FID, and trigger layout shifts when metrics fire as fonts swap in. Practical fixes include avoiding third‑party font services when possible, using the CSS Font Loading API to group loads, preload and critical CSS ordering, and reducing files with glyphhanger + fonttools/pyftsubset (one example cuts size ~3×) so pages render within budget.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42Why web fonts
  3. 5:37Best font
  4. 6:48Font services
  5. 9:52Group fonts by rendering
  6. 11:27Style fallback properly
  7. 13:09Optimize phones with subsetting
  8. 16:31Speed up font loading
~/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.