CiteStat/Wiki/Lazy Loading & Image Optimization

Lazy Loading & Image Optimization

Performance & Speed

TL;DR

Lazy loading defers off-screen images until needed, cutting initial load time. Combined with WebP or AVIF, it cuts the bytes a first visit has to load.

Explain Simply

Lazy loading is like a waiter who only brings your food when you're ready to eat, instead of piling everything on the table at once. Your page loads the images you can see first, and fetches the rest as you scroll.

Lazy loading defers image loading until they approach the viewport, improving initial load speed. HTML native: loading="lazy". Related: srcset for responsive images, WebP/AVIF for smaller files than JPEG.

Native lazy loading (loading="lazy") is supported by all modern browsers and requires no JavaScript. However, above-the-fold images — especially the LCP element — should NOT be lazy-loaded, as this delays the largest visible content.

Image optimization goes beyond lazy loading: use srcset and sizes attributes for responsive images (serve appropriate sizes per device), convert to WebP (25-34% smaller than JPEG at the same quality in Google's WebP compression study) or AVIF, compress to the lowest quality that still looks right, and always specify width/height to prevent CLS.

⚡Why It Matters

Images are often the heaviest part of a page. Lazy loading off-screen images lets the browser spend the first seconds on what the visitor sees. Google's WebP compression study found WebP files 25-34% smaller than JPEG at the same quality.

🔍How CiteStat Checks

CiteStat checks loading="lazy" on below-fold images, srcset for responsive, format (prefers WebP/AVIF), width/height to prevent CLS, and alt text for accessibility.

CiteStat Score Impact

Headline score: the 4 rules that link here count in the Performance group (15% of the headline, about 1.4 of its 15 points).

Fix Difficulty

Editor: Easy | Developer: Easy | AI Agent: Easy