How to deliver the WebP's generated with ShortPixel with the-LiteSpeed Cache plugin

Now the LiteSpeed Cache plugin is supported for delivering WebP too! For this you need to do two things:

1. Add this constant in wp-config.php:

define('SHORTPIXEL_USE_DOUBLE_WEBP_EXTENSION', true);

2. Activate the LiteSpeed’s Advanced settings:

3. Activate the WebP delivery options:

4. Do not activate LiteSpeed’s option to generate the WebP files – ShortPixel will generate them when optimizing the images (If you already have optimized images, you will need to do a Media Library Restore and then run the bulk again).

Still need help? Contact Us Contact Us