Lazy-loading YouTube embeds, measured

An embedded video can cost more than the rest of the page combined. We measured what happens when you defer it.

Where the time actually went

The waterfall almost always tells a simpler story than the dashboard. One render-blocking stylesheet, one oversized hero image, and a font that arrives late explained most of the delay on this project.

  • Record a throttled baseline before touching code
  • Budget bytes per template, not per site
  • Cache the query, then cache the page
  • Re-measure a week later on real traffic

One comment on “Lazy-loading YouTube embeds, measured”

  1. Mateo Rossi

    Nice to read something that admits the first attempt did not work. That is how it goes in real projects.

Leave a comment

Your email address will not be published. Required fields are marked *