AVIF

A newer image format that often compresses even smaller than WebP, at the cost of slower encoding.

In more detail

Browsers advertise AVIF support in their Accept header. Encoding is slower than for WebP, so servers usually generate and cache it once.

Example

next/image serves AVIF only when you add image/avif to images.formats in next.config.

Related terms

Taught in

References