Using Cloudflare = can’t have webp background images in CSS?
-
I seem to be in an endless loop trying to get complete coverage of webp images and using Cloudflare.
Here’s my predicament:
I use Cloudflare, and according to your docs, I should use “CDN Friendly” mode and alter the HTML. But, this option doesn’t allow background images in CSS to be updated. For that to work, I need to use “Varied Image Responses.” But, I can’t use that setting because I use Cloudflare.
The one solution (I wouldn’t call it a solution) is to set Cloudflare to bypass caching images, but then I lose the benefit of having a cache policy for assets, which also works against what I’m trying to accomplish with page load speeds.
My last-ditch option seems to be setting up a separate CDN for images, at which point I’m bordering on over-engineering a hypercomplex website all so that my local small business can provide a passable user experience. I absolutely love what this plugin does, but it makes the websites it on at extreme risk of being broken by any administrators who are not technically inclined. I’m not sure what to do at this point.
Is there any workaround to this?
- This topic was modified 3 years, 5 months ago by .
- This topic was modified 3 years, 5 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Using Cloudflare = can’t have webp background images in CSS?’ is closed to new replies.