1
Just a quick note/”worry thought” re purging page caches using wpmudev_hosting_purge_static_cache.
The code does a CURL and awaits a response from the cache invalidator handler. If that takes time it is just tiresome.
I would urge you to add another cachepurger function in that plugin that takes a callback as a parameter. And use curl_setopt($ch, CURLOPT_WRITEFUNCTION, $callback);
Then purge cache will NOT await invalidation but can have a callback if you want. (And if no callback is supplied just add a dummy logging callback or such)
99.9% of the time you do not care if the cache handler says OK…