Serve Existing WebP with LiteSpeed Cache
-
I would like to use LiteSpeed to serve WebP images that already exist. I have tried enabling “Image WebP Replacement”, but my site still displays JPEGs.
I have created WebP versions of my original JPEG files using a plugin called ShortPixel. That plugin creates a file with the .webp extension in the same directory that contains the .jpg. For instance, I have these two files:
/uploads/2019/07/PineappleStarfruitJulep12-600x850.jpg
/uploads/2019/07/PineappleStarfruitJulep12-600x850.webp
This image appears on my homepage.
How can I go about serving the WebP files?
I am using Chrome, and I have purged the LiteSpeed cache. I have verified that the images being loaded are JPGs by using the Network tab in Developer Console.
The page I need help with: [log in to see the link]
- The topic ‘Serve Existing WebP with LiteSpeed Cache’ is closed to new replies.