WebP
Serving smaller images without touching your originals
What is WebP?
WebP is a modern image format developed by Google that employs both lossy and lossless compression methods. It is designed to provide high-quality images with smaller file sizes compared to other popular image formats like JPEG and PNG.
The adoption of WebP can lead to faster web page loading times and reduced bandwidth usage, which is particularly important for users with slower internet connections or limited data plans.
How do I enable WebP?
RKHM can use spatie/image-optimizer to create a WebP version of your images ( and their resized versions ). To enable WebP, first make sure you have installed & tested all required binaries ( listed in Github page ). Then head to `Admin -> Setting -> CLI Apps` and enable webp
If you enable WebP without installing spatie/image-optimizer's required binaries, the WebP version of images will be same size or even bigger! So make sure you have them installed