jargon

Frontend & browser·Loading, assets and the critical path

you added one attribute and the images further down the page stopped downloading until they were near the viewport.

Native lazy loading

Also calledloading=lazy

The `loading="lazy"` attribute, which defers fetching an image or iframe until it approaches the viewport, handled by the browser without script. It replaces the observer-based libraries that used to do this, with better heuristics and no main-thread cost. Applying it to an image above the fold delays the largest contentful paint, which is the one way it reliably makes things worse.

Commonly confused with