I have a rather complicated setup running WP Rocket on Wordpress together with the CF Wordpress plugin. I really want to use APO but whilst the WP Rocket CF add-on does not purge the CF cache I have a disconnect.
The complication arises from rotating sidebar widgets (serving ads) that change positions every 8 hours and are displayed on all 3k posts (no matter how old). That change in position does not trigger an update event - it is just a plugin changing the position of the up to date widgets on page load.
I can set up WP Rocket to recreate its page cache every 8 hours and that works fine. The problem is that this doesn’t trigger CF to purge all caches so APO still serves the articles with the “old” widgets positions.
Is there a way to set a page rule so that APO automatically purges its caches every 8 hours and makes a roundtrip back to the server picking up the updated posts? The idea would be to bridge the broken link with automatic purge rules of 8 hours on both ends.
Thanks a lot for your help!