Hey guys,
I recently signed up for "WP Compress" who optimise and serve my images. I also, of course, use LiteSpeed as a cache. Both work together more or less perfectly by default. However with one problem...
My background images are hardcoded into the HTML and CSS. Now Litespeed obviously caches this HTML and that means my WP Compress cannot access that image to serve it as it cannot alter the HTML that LS serves up.
Hopefully, I explained that well enough, I don't fully understand it myself so forgive me if it doesn't make much sense. In the words of the Wp Compress dev, which may make more sense, his plugin doesn't serve the background images on my site because " LS delivers cached HTML and our plugin does not do a search & replace for that."
Anyway, my question, is there a way to counteract this? Perhaps a way to force LS to rewrite background images or something... god I don't even know what I am suggesting, but hopefully one of you guys can help anyway
Cheers
I recently signed up for "WP Compress" who optimise and serve my images. I also, of course, use LiteSpeed as a cache. Both work together more or less perfectly by default. However with one problem...
My background images are hardcoded into the HTML and CSS. Now Litespeed obviously caches this HTML and that means my WP Compress cannot access that image to serve it as it cannot alter the HTML that LS serves up.
Hopefully, I explained that well enough, I don't fully understand it myself so forgive me if it doesn't make much sense. In the words of the Wp Compress dev, which may make more sense, his plugin doesn't serve the background images on my site because " LS delivers cached HTML and our plugin does not do a search & replace for that."
Anyway, my question, is there a way to counteract this? Perhaps a way to force LS to rewrite background images or something... god I don't even know what I am suggesting, but hopefully one of you guys can help anyway
Cheers