App for Cloudflare® Pro

App for Cloudflare® Pro 1.8.9

Compatibility issue with WP Rocket

crosslag

New member
Hello,
here and there, about once every 1-3 days I have a problem that I will get all the pictures missing from the web that are uploaded to R2 through your plugin. I noticed that when I don't have a WP Rocket plugin on, all is all right.
The problem is that after some time what WP Rocket is turned on, something "switches" on the web and refers to the URLs of pictures of original location on my site and not to R2 link. But I do not have those picture on original locations, yet.

I "repairing it" that I deactivate the App for Cloudflare plugin and activate again and everything is fine.

Should I set up something in WP Rocket to exclude your plugin for a caching?
 

Attachments

  • log.txt
    7 KB · Views: 0
As on picture, all missing images are from R2 storage.
 

Attachments

  • scrnli_61PHG7BXvTk71j.png
    scrnli_61PHG7BXvTk71j.png
    296.7 KB · Views: 0
Are you able to see what’s going on underneath it all when it happens (like in browser console or dev tools)? Like maybe it’s a failing redirect loop from old to new location or something…

If WP Rocket references things in old locations, it would make me think there’s some sort of WP Rocket caching going on that might be stale (especially if it clears itself up instantly when you disable WP Rocket).

That being said, it’s probably not the greatest idea to use multiple caching plugins. Creating caches for caches is really going to slow your site down in most cases.
 
Hi, I did not used Cloudflare cache before. I make decision to ditch WP Rocket, and use cloudflare cache and other features of you plugin to speed up my eshop. I`ll test it out. Thanks to hinting me to right direction.
 
Back
Top