deploy-tools icon indicating copy to clipboard operation
deploy-tools copied to clipboard

purge WPE cache on deploy

Open aschweigert opened this issue 10 years ago • 2 comments

aschweigert avatar Mar 18 '15 16:03 aschweigert

OK -- so the word from WPE is that it is not possible to do this programmatically via an API or some such thing, at least for now.

If we were able to use git deployment rather than sftp, this would be handled automatically. However, as we've established, git deployment with WPE does not work properly for us.

So, the other option we have is to build some headless "browser" that logs in and clicks the purge cache button after deploy.

We do have a framework for doing these kinds of things via the wp.cmd task, but it would still require some reverse engineering and may be more trouble than it's worth.

rnagle avatar Oct 29 '15 22:10 rnagle

It appears to be possible now: http://blog.handbuilt.co/2016/02/22/trigger-varnish-cache-purge-on-deployment-to-wp-engine/

benlk avatar Feb 22 '16 18:02 benlk