Wordpress LScache Plugin: Not all are converted to webp
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hello, I need help with image optimization. For some reason, whenever I try to visit the site, it doesnt serve webp images even if the settings say otherwise. There are also times where webp only shows when you hard refresh the page (ctrl+F5) Settings: UCSS and CCSS off. Guest mode and enhanced on. Crawlers on. Everything on JS is on and is delayed. I am also using cloudflare. Please help, Thank you. Hi, please provide the report number , you can get it in toolbox -> report -> click send to LiteSpeed Best regards, Thank you for your response. Report number: RNGZNUBT you have some additional cache laying that is messing up with LiteSpeed Cache as shown in my screenshot you have browser cache , and also cloudflare cache , and also some other cache I am not sure what are they when LSCWP does webp replacement , it will check the browser support , so there will be 2 caches for one page , one cache with webp , one cache without webp but if someone accessed the page with no-webp first and cloudfalre cached , then all following visitor will get that no-webp cache on CF nodes same apply to browser cache as if you hard refresh will get it work as it clears browser cache please make this cache-control header to value no-cache, must-revalidate, max-age=0 , and then disable all other cache layer I have temporarily turned UCSS on. Also, maybe this would help. The cache setting on Cloudflare is cache everything since everything is static. Also Purge all on Cloudflare removes everything but will then again serve the original images. I can only show the webp versions when I purge per URL on cloudflare. Its so weird really, I dont understand. please check my above reply Hello, I have updated the settings on Cloudflare to respect origin header . And I think I have found the actual reason as to why it is serving the original images. https://gcdnb.pbrd.co/images/KdNav6vTOxYC.jpg?o=1 Thats an image of what I am talking bout. I really hope theres a way to get around with this. Its working now if the cache status from Cloudflare is Dynamic instead of a HIT Its working now if the cache status from Cloudflare is Dynamic instead of a HIT thats exactly the issue I mentioned above when you have other cache in front of plugin , plugin wont be able to vary the page and serve the correct version Update about it. For some reason, after some time, I think about an hour after purging all. Everything goes back to the original except Frontpage. This may be beyond your support but I am not exactly sure whats causing it. Cloudflare is now following my TTLs. one thing you can do as quick check is to set cloudflare proxy to off , then you will see if the issue is lays on LSCWP, or CF interfered best regards, Hello, thank you for your response. So basically, I have fixed the error though I almost messed up Litespeed web admin. I was able to revert all changes I made on port 7080. It is actually CloudFront that was causing it. Previously, before I activated Cloudflare, AWS was on, and to tell you the truth, I was actually using 2 CDNs which I was kind of aware but I didnt really think that it would create an issue. After some time, I totally forgot about Cloudfront still active. I went ahead and remove all custom cnames, removed AWS certs and deleted some cache settings on AWS. I have deactivated the CDN feature on the Litespeed cache and there ya go. I am now able to use webp with the cache everything page rule on Cloudflare? Thanks so much for your help. It was actually messing up the cache. More power! dont use cache everything rule ? you will have issue between webp browser and non webp broser imagine I use an android phone accessed your page , and CF cached webp link in the HTML , everything is good here , but then , someone , with pre-iOS-14 iPhone/iPad which doesnt support webp , accessed this same page , then CF will serve the same page that comes with webp link , then no image will be displayed in this iOS device. I see? Hmmm. Thanks for the advice. Imma have to turn that thing off then. You are great!
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference