Why Responsive Images Matter
A 2400×1600 hero image weighs 800 KB as WebP. On a 375px-wide iPhone screen, the browser downloads all 800 KB — then discards 75% of the pixel data to fit the viewport. The user waited for bytes they never saw.
Responsive images fix this. The srcset attribute tells the browser: here are the same image at 400px, 800px, 1200px, and 2400px widths. Pick the one closest to your viewport. A mobile user downloads the 400px variant — 80 KB instead of 800 KB. Same visual result. 90% less bandwidth.
