glossary2 min read

Lazy Loading

Lazy loading delays loading images and resources until they are needed.

Lazy loading defers loading of off-screen content until the user scrolls near it. For images: add loading="lazy" to img tags. For JavaScript: use dynamic import(). Benefits: faster initial page load, reduced bandwidth for users who do not scroll, better Core Web Vitals (LCP). Native browser support for image lazy loading is universal in modern browsers.