Code: purging the cache as web hook
-
I have an automatic deployment setup, and each time the files are changed the caches need to be cleared, too. So here is how I automated it:
https://gist.github.com/benjaminpick/67b6b9a49ef7991172f9
In my wp-config.php I’ve added a secret key.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Code: purging the cache as web hook’ is closed to new replies.