Way to exclude images from being cached?
-
Background:
For the longest time, my sites have been using a combination of LiteSpeed Cache (for optimization purposes) and WP Super Cache for the purposes of caching. I’ve always used Cloudflare for proxying traffic, however, I had Cloudflare bypassing all caching because I was already using WP Super Cache. Felt there was no need for Cloudflare to be caching the site because WP Super Cache handled that pretty well itself, and wanted to avoid having multiple caches to clear every time I made a change to the site(s).Now for my question/issue:
I decided to give Cloudflare Super Page Cache a try because one of my sites has a homepage that is getting fudged up by WP Super Cache. Uninstalled WP Super Cache and set up your plugin, and everything is perfect…EXCEPT, now all the images that LiteSpeed Cache has converted to WebP, are no longer being served as WebP (they’re being served as png’s and jpeg’s respectively). I’m assuming this is because the Cloudflare account is on a free plan and thus I do not have the Polish service available to serve those images.Unless there is some sort of workaround available to force cloudflare to serve up these images as WebP, I guess I need to exclude all website images from being cached so that they are still served from the origin server.
Thank you so much for your time!
- The topic ‘Way to exclude images from being cached?’ is closed to new replies.