FREEFirst project with us? Your landing page design is on the house.See the offer

Glossary · Speed

What is Image compression?

By Abdul QuadirUpdated Nov 2026
Image compression (WebP, AVIF)noun · Speed

Image compression shrinks image files so pages load faster. Modern formats like WebP and AVIF give much smaller files than JPEG or PNG at similar quality.

Image compression shrinks image files so pages load faster. Modern formats like WebP and AVIF give much smaller files than JPEG or PNG at similar quality.

Image compression, explained

Images are usually the heaviest part of a web page. A single uncompressed hero photo can weigh more than the rest of the page combined.

WebP is supported by all modern browsers and is often far smaller than JPEG. AVIF can be smaller still, especially for photos, with wide support in current browsers.

Compression is only half the job. Serving the right size matters too: a phone should not download a 2,500 pixel wide image. Responsive images with srcset handle that.

Webflow can convert uploaded images to WebP or AVIF and creates responsive sizes. Astro has a built in image component that does the same at build time.

In our work

How Kookies uses it

We compress and resize every image at launch, use WebP or AVIF where it helps, set width and height to prevent layout shift, and keep hero images light so LCP stays fast.

FAQs

Image compression
questions.

Abdul Quadir
Still have a question?Ask us directly. We reply within a day.
Book a callPick a timehello@kookies.io

AVIF files are often smaller for photos. WebP encodes faster and is very widely supported. Both beat JPEG for size.

Yes. Webflow can convert images to WebP or AVIF from the Assets panel.

No bigger than they display, ideally under a few hundred kilobytes for large images and much less for small ones.

Your turn

Let's kook
what you krave.

Hi Kookies, I need a built on . I'd love to launch . Reach me at
or book a callSent. We reply within one working day.