Performance · Image delivery

Images not efficiently encoded

A soft pattern of red and blue clouds

The photo on this page is a JPEG saved at the highest quality setting. Saved at a normal quality it would be far smaller and look the same.

How this page is built

The image under the heading is a 600 by 338 pixel JPEG saved at quality 100 with no chroma subsampling, so it weighs about 250KiB. At quality 80 it would be around a quarter of that. It is a JPEG, so Lighthouse also suggests WebP or AVIF for it, which is the same saving seen from another angle.

Why it matters

JPEG quality settings above about 85 add a lot of file size for detail the eye cannot see. Images exported at maximum quality from design tools or cameras are often two to four times larger than they need to be.

Heavier images slow down the page, especially on mobile networks, and can delay Largest Contentful Paint when they appear near the top.

How to check it

Run Lighthouse or PageSpeed Insights on the page and look at the diagnostics. Crawl tools that run Lighthouse for each page, or that measure page resources, report the same finding across the site. Lighthouse re-encodes each JPEG at quality 85 and lists those that would be much smaller.

How to fix it

Compress JPEGs at a quality of around 75 to 85, or serve WebP or AVIF instead. Add compression to the build or upload process, so images are optimised whoever adds them.

Back to all tests