Should we set jpeg_quality to 100 for best results?

Hi @jamieburchell,

Thank you for your message.

If you care about the highest quality, this setting will definitely help. WordPress compresses images to 82% quality by default. My plugin uses these images and converts them to WebP format. I don’t know if 100% is a good choice because these files will be huge, but 90% should be a great choice.

If you care about the highest quality of images and the smallest possible weight, then also check the AVIF format. Images in the AVIF format have about 40% less weight compared to WebP, while maintaining even better quality.

Best,
Mateusz

Thanks for the reply @mateuszgbiorczyk

Does it matter that the JPGs are huge if the client is not downloading them (i.e. the client gets the converted and compressed WEBP images) ?

@jamieburchell In principle you are right, but I will explain to you how it works fully.

When a browser tries to download an image file, the server checks if it supports the AVIF format (if enabled in the plugin settings). If so, the browser will receive the equivalent of the original image in the AVIF format. If it does not support AVIF, but supports the WebP format, the browser will receive the equivalent of the original image in WebP format. In case the browser does not support either WebP or AVIF, the original image is loaded. This means full support for all browsers.

@mateuszgbiorczyk Sure, so basically it’s not ideal in the case that the client does not support WEBP.

I’ll probably go with 90% anyway but thanks for clarifying!

@jamieburchell There are no perfect solutions, but this solution is not far from ideal. However, I wanted you to have a complete picture of the situation.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer