Wordpress LScache Plugin: Cant disable WebP on some images
Last Updated on: Wed, 15 Apr 2026 00:00:02 I have some images on the WordPress media that already optimized by LS image optimizer. Big thanks for that. First, take a look on this screenshot https://prnt.sc/r3l5lk You can see I have 4 images in that example Sometimes Im checking on my media, and saw some of the optimized image (non-WebP) are smaller in size than WebP, see image 1. get 10% optim-jpg than just 3% on webP But, I dont know why, some of the WebP cant be disabled. (images 1 and 3). in images 2 and 4, I can disable them without a problem. what I know is when the percentage number is in Black, then it has button to disable it. when it is in blue, then it cant be disabled. Image 2 is exception, my cursor on it. So, my question are: 1. what I need to know is, how to disable just on image 1? 2. Then what are the rules that some images will have no disable WebP button? thank you? Hi, `if ( $this->info( $local_file . .webp, $post_id ) ) $desc = __( Click to Disable WebP, litespeed-cache ) $cls_webp = litespeed-txt-webp elseif ( $this->info( $local_file . .optm.webp, $post_id ) ) $cls .= -disabled $desc = __( Click to Enable WebP, litespeed-cache ) $cls_webp = litespeed-txt-disabled ` according to code , disable button wont show if this image has no webp replacement Could you please verify in file system , that image has webp file generated ? Best regards, Oh yes, youre right? I dont have them. There is no WebP in the original size image, but there are WebP in all of the thumbnail, medium, and large size files. uploads ?date folder ?-NCU-Zhong-Da-Lake-150?150.bk.jpg ?-NCU-Zhong-Da-Lake-150?150.jpg ?-NCU-Zhong-Da-Lake-150?150.jpg.webp ?-? other sizes same as above ?-NCU-Zhong-Da-Lake.bk.jpg ?-NCU-Zhong-Da-Lake.jpg and how to fix it? I already reset the optimized image, and reoptimize it, but still have no WebP. oh ya, The Object Cache is disable, I didnt use it. update: I already tried to download the original image, then open it in paint, just save to overwrite it. reupload it to linked post?. the result is, sometimes (an ori image) works, generated WebP, Sometimes (another ori image) dont, just like before? no webP? Hi, Could you please provide me this image NCU-Zhong-Da-Lake.bk.jpg ? Best regards, Hi, please find the file here. https://drive.google.com/file/d/1XCAzalaQk8H5oPt_UFa9SrmjK5R7tWc0/view?usp=sharing thank you Hi, Initially I thought is because the original image can not generate the webp version , as in some rare case, webp could be larger than original , or some special color space in that jpg file, but seems this is not the case as I can get the webp on my test site. Now could you please reset this particular image in Media page, and then enable advanced debug log to your IP , then send this image to optimization , after few minutes it will be pulled back , then please check debug log , and see if you got any error message for webp optimization. Best regards, Hi, I didnt see any error on the Image Optimization page? Optimize Automatically set to ON, so after I sent optimization requests, the cron job auto pull the images? please download the debug.log here: https://drive.google.com/file/d/155PtHm_Ca6LY-PXwo5PFdxn6GMnhgRvm/view?usp=sharing and also? I already send the report, maybe it could help? Report number: TLOVJYFB Report date: 02/19/2020 16:39:16 Hi, 02/19/20 23:35:23.840 [YOUR_IP:51350 1 eWg] [Img_Optm] Pulled optimized img: /path/public_html/articles/wp-content/uploads/2020/02/NCU-Zhong-Da-Lake.jpg 02/19/20 23:35:23.841 [YOUR_IP:51350 1 eWg] [Img_Optm] Update _table_img_optm record [id] 642 02/19/20 23:35:24.193 [YOUR_IP:51350 1 eWg] [Img_Optm] Pulled optimized img: /path/public_html/articles/wp-content/uploads/2020/02/NCU-Zhong-Da-Lake-300x169.jpg 02/19/20 23:35:24.500 [YOUR_IP:51350 1 eWg] [Img_Optm] Pulled optimized img WebP: /path/public_html/articles/wp-content/uploads/2020/02/NCU-Zhong-Da-Lake-300x169.jpg.webp 02/19/20 23:35:24.501 [YOUR_IP:51350 1 eWg] [Img_Optm] Update _table_img_optm record [id] 643 Please delete the shared debug log. this must be weird , other images are having webp log , but the main image doesnt even show it. Please submit a ticket here we will investigate it further. best regards, Hi, I already submit it to tech support.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference