Skip to content

What is AVIF, WebP & Responsive Images?

Modern image formats and sizes served to match each device: AVIF or WebP instead of heavier legacy formats, with responsive variants so phones never download desktop-sized heroes. Smaller files mean faster largest-paint moments.

Example

A landing hero ships as AVIF for modern browsers with WebP fallback plus small, medium, and large widths, so a phone on mobile data downloads a fraction of what a desktop fetches.

What people get wrong

Uploading one giant PNG and letting CSS shrink it wastes every visitor’s bandwidth. Resize at build time, serve modern formats first, and reserve legacy formats for fallback only.

Frequently asked questions

Should every image be AVIF?

Serve AVIF first with WebP and legacy fallbacks behind it. Encoding costs rise with newer formats, so generate variants once at build time rather than converting on every request.

Sources

Browse all Build & Render Performance terms →