Lazy Loading
Updated
Also known as: Lazy load, deferred loading, native lazy loading
Lazy loading is a technique in which resources — above all images, iframes and videos — are only loaded once they are just short of the user's visible viewport area. Instead of fetching every image on the first page load, the browser only fetches those visible above the fold; the rest follow as the user scrolls. Since Chrome 76 (2019), lazy loading has been supported natively in the browser via the loading="lazy" attribute. It is one of the fastest and most effective page speed optimisations for image-rich websites.
Enabling native lazy loading
For images: <img src="..." loading="lazy" alt="...">. For iframes: <iframe src="..." loading="lazy">. Important: do NOT lazy load above-the-fold images — they should be visible immediately. Use loading="eager" or no attribute at all for hero images. Native lazy loading is supported in all modern browsers, and with Safari from version 15.4 also in the Apple ecosystem.
Lazy loading and Core Web Vitals
- LCP — above-the-fold images must not be lazy loaded, otherwise the LCP score deteriorates. A classic anti-pattern:
loading="lazy"set on the hero image, with LCP rising from 1.8 to 4.2 s. - CLS — images need explicit
widthandheightattributes, otherwise layout shift occurs when they load in later. - INP — largely uncritical, since lazy loading does not affect interactivity.
Lazy loading and SEO crawling
An important question: does Googlebot recognise lazy-loaded images? Yes, since 2019. If lazy loading is implemented natively (loading="lazy") or with the Intersection Observer, Googlebot parses the images correctly. Only outdated JavaScript lazy loading solutions that load images solely on a user scroll event are problematic — these are often missed by Googlebot, because the bot does not ”scroll". Modern native lazy loading is therefore the clean standard.
Example from practice
Example: A magazine domain had 80 articles per page with 12 images each, all eager-loaded. Initial page load: 8.2 MB of data, LCP 4.8 s. Implementation: hero image eager, all other images loading="lazy", plus explicit width/height attributes to avoid CLS. Effect: initial page load down to 1.4 MB, LCP down to 1.9 s, CLS down to 0.03. During a long reading session images load in later and total traffic remains the same — but perceived performance is dramatically better. A classic quick win.
Frequently asked questions
What is lazy loading?
How do you implement lazy loading?
<img loading="lazy">. All modern browsers support it. For older browsers there are JavaScript fallbacks such as lazysizes. The rankmio SEO audit checks the lazy loading implementation automatically.Should the hero image be lazy loaded?
Are YouTube videos lazy by default?
Used in rankmio for
Page speed audit in the SEO check
Free SEO & GEO Check
SEO score, AI visibility and citation readiness of your website in 30 seconds — no registration required.
Ready to optimize your website?
Register for free, get 10 credits and start right away.
Register now