WP Rocket's Cloudflare Add-on causes 524 Error when saving Divi Global Template #7204
Labels
3rd party compatibility
Issues related to 3rd party compatibility like theme, plugin or hosting
priority: medium
Issues which are important, but no one will go out of business.
Describe the bug
When we have the Cloudflare Add-on enabled and try saving a Divi Global template, we get a 524 error.
This is because when a DIVI global template is updated, Divi iterates all the posts that are using that template, and clears their cache, our Cloudflare Add-on is hooking
auto_purge_by_url()
toafter_rocket_clean_post
here.The
auto_purge_by_url
will be triggered too many times on big sites, causing the process to timeout after some seconds.To Reproduce
Steps to reproduce the behavior:
Suggestion
Doing just a full cache clear in Cloudflare would be more CPU efficient.
Additional context
For now, the following have been added as a temporary fix:
Slack Thread: https://wp-media.slack.com/archives/C43T1AYMQ/p1734965591441869
HS Ticket: https://secure.helpscout.net/conversation/2795881067/531073
The text was updated successfully, but these errors were encountered: