Wordpress LScache Plugin: Replace image with WebP version using styles
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi there, I am trying to replace the standard version of my images with the WebP version. I have several pages which display a hero image, but they use a style to serve the background image e.g. [ redundant link removed ] I have found a place in settings WebP Attribute To Replace, but I am unsure what I need to add so I can force the WebP version. Any help would be great, thanks! This topic was modified 3 years ago by Jan Dembowski. This topic was modified 3 years ago by Jan Dembowski. The page I need help with: https://linktechaustralia.com.au/what-we-do/ Hi, Currently LSCWP does not support web replacement in CSS Best regards, Darn, Im so sad to hear that qtwrk. Are there any plans to add this functionality in the future? I found the correct css selector to add in my scenario (verified to drill down to the applicale html block where the links to the .jpg links are that I want to have replaced with .webp versions), but no joy. Now I know why, but Im hopeful that this will be supported in the future? There are MANY slider plugins for WordPress that use this method of displaying the slider images, so I would imagine that this is affecting many users of litespeed cache plugin, but they just dont know it. @CacheCrawler ? Sorry, I just realized I didnt tag you in my message above.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference