~/talk

Hosting Fonts? Good Luck!

Talkat Developers Summit 2021 · 2021-02-18..02-19· [web-performance, web-platform]
slides:none on file

Self-hosting font files increases measured page speed, removes a single point of failure and avoids third‑party privacy leaks; Google Fonts loads CSS from fonts.googleapis.com then font binaries from fonts.gstatic.com, uses unicode‑range subsets and font‑display:swap which can cause FOIT/FOUT. Recommended steps: download and serve WOFF2, subset glyphs by unicode‑range, strip hints for Mac, or generate UA‑specific subsets on the backend and cache them; prefer variable fonts when using multiple styles, implement progressive font enrichment, preload only non‑local fonts, and inline a minimal base64 base font then lazy‑load full files with the Font Loading API.

AI-written summary · about

  1. 0:00Introduction to self-hosting
  2. 2:32Google Fonts drawbacks
  3. 8:15Self-hosting font basics
  4. 10:00Optimizing font files
  5. 13:27Browser and platform differences
  6. 15:56Variable fonts explained
  7. 18:43Progressive font enrichment
  8. 20:29Preloading font files
  9. 23:00Summary and conclusion
~/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.