What does wp cache flush
return?
Also by WPE, you mean wpengine.com ?
Our cache purge also purges wpengine, so their plugin could be causing it.
This is our code:
# Purge WP Engine
if (class_exists("WpeCommon")) {
if (method_exists('WpeCommon', 'purge_memcached')) { WpeCommon::purge_memcached(); }
if (method_exists('WpeCommon', 'clear_maxcdn_cache')) { WpeCommon::clear_maxcdn_cache(); }
if (method_exists('WpeCommon', 'purge_varnish_cache')) { WpeCommon::purge_varnish_cache(); }
}
It checks if their plugin is installed and if it is, it asks their plugin to purge all caches (only if it’s installed).
In that case, it would make sense if they say it’s related to the cdn, as the function tries to purge all caches available.
I haven’t checked if they have a method to verify if the cdn is enabled or not, but if they do, I’ll add it to my plugin.
In that case, while the curl message doesn’t come directly from FVM, it may be related, simply because it runs the cache purge on wpengine plugin, and that plugin returns the error timeout.
I assume, wpengine plugin still makes a curl request to the cdn and that’s why it fails.
I’ll look into it sometime later again.