More Than You Ever Wanted to Know About Resource Hints
summary
Five practical hints are covered with support stats: DNS prefetch (81%) to resolve YouTube IPs early, preconnect (84%) to open TCP/TLS for Google Fonts, prefetch (82%) to download next-page assets into HTTP cache (Netflix uses this for login → app bundles), preload (79%) which is now a mandatory fetch requiring the correct as and crossorigin attributes, and pre-render/no-state-prefetch (71%) for recursive page prefetching. Caveats include IE9/Safari bugs, Firefox 66 regressions, Chrome over-prioritizing preload (example: +400ms), and Priority Hints landing in Canary.
AI-written summary · about
chapters (9)
- 0:00Introduction to resource hints
- 3:36What are resource hints
- 6:24DNS prefetch explained
- 10:37Preconnect for faster connections
- 15:42Prefetch for subsequent navigation
- 21:04Preload for late-discovered resources
- 28:48Pre-render and its limitations
- 31:38No State prefetch update
- 34:26Summary and implementation tips
