Some webP image non load




Wordpress LScache Plugin: Some webP image non load

Last Updated on: Wed, 15 Apr 2026 00:00:02
Hi, Some image in the link not work on WebP image. Some as logo (top left) and gallery (12 images) at the bottom of page. Why? How can I resolve? thanks The page I need help with: https://ceccolinigianfranco.it/ Hi, have you checked this ? https://docs.litespeedtech.com/lscache/lscwp/ts-media/#webp-not-loading Best regards, Yes, I read the article. I Think that the problem is: The plugin can only perform WebP replacement on the HTML tag. If the image is loaded via CSS, JS, or some other means, LSCache may not be able to correctly insert the WebP file. I would to know if there is some methods to bypass this. thanks RewriteCond % HTTP_ACCEPT image/webp RewriteCond % REQUEST_FILENAME .webp -f RewriteRule ^(. ).(jpg|jpeg|png|gif) $1.$2.webp [T=image/webp,L] add this rule at top of your .htaccess this will force server to send webp file if it exists the URI will remain unchanged, but under the hood , the format and file is actually webp Hi, I try but nothing change. Some image are in webp and other in jpg (logo, gallery) some ideas? yes, some file just doesnt have webp version e.g. https://ceccolinigianfranco.it/wp-content/uploads/2021/09/accessori-doccia-334?233.jpeg ?> ok https://ceccolinigianfranco.it/wp-content/uploads/2021/09/accessori-doccia-334?233.jpeg.webp ?> 404 Hi, the problem is with logo https://ceccolinigianfranco.it/wp-content/uploads/2021/09/Ceccolini-Gianfranco-consulente-1.jpg that have a webp version https://ceccolinigianfranco.it/wp-content/uploads/2021/09/Ceccolini-Gianfranco-consulente-1.jpg.webp but in the site is in jpg Hi, Did you apply my workaround rule ? if so , do you have any .htaccess in /wp-content or /wp-content/uploads dir ? Best regards, no there are not. I think that the problem is that the logo is uploaded by the theme option. Can you control the page code? https://ceccolinigianfranco.it/ what is your environment ? is it cPanel or something ? if you add this RewriteRule ^(. ).(jpg|jpeg|png|gif) $1.$2.webp [F,L] at top of your .htaccess and then access individually , to any of your image , does it give you 403 error ? Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please submit a ticket in our system we will investigate it further. Best regards,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference