PNG Image via CSS Not Being Optimized to WebP
-
Hi,
I’ve been using the LiteSpeed Cache Plugin for WordPress and have encountered an issue with image optimization. Specifically, PNG background images that are called through CSS are not being converted to the WebP format.
I have already enabled the ‘Image Optimization’ features within the plugin settings and confirmed that other images on the site are successfully being optimized and served in WebP format. However, it seems that PNG background images loaded via CSS remain unchanged.
Could you please provide some insight into why this might be happening and what steps I can take to ensure that these PNG background images are also optimized? Is there a specific setting or workaround that I need to apply to include images referenced in CSS files in the optimization process?
I appreciate any guidance you can provide on this matter and look forward to your response.
- The topic ‘PNG Image via CSS Not Being Optimized to WebP’ is closed to new replies.