Title: Remotely Purge Cache?
Last modified: August 30, 2016

---

# Remotely Purge Cache?

 *  Resolved [bcolflesh](https://wordpress.org/support/users/bcolflesh/)
 * (@bcolflesh)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/remotely-purge-cache/)
 * I have a remote PHP script that updates sections of my site, I’d like to run 
   the “Purge Cache” routine afterwords automatically. The URL from the button requires
   a WordPress nonce, ex:
 * [https://mysite.com/wp-admin/?nginx_helper_action=purge&nginx_helper_urls=all&_wpnonce=4d9cfdee76](https://mysite.com/wp-admin/?nginx_helper_action=purge&nginx_helper_urls=all&_wpnonce=4d9cfdee76)
 * Anyone do this and can share some ideas on how to accomplish?
 * [https://wordpress.org/plugins/nginx-helper/](https://wordpress.org/plugins/nginx-helper/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [bcolflesh](https://wordpress.org/support/users/bcolflesh/)
 * (@bcolflesh)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/remotely-purge-cache/#post-6855068)
 * I setup a script on the server to handle this when called:
 * shell_exec(‘redis-cli flushall’);

Viewing 1 replies (of 1 total)

The topic ‘Remotely Purge Cache?’ is closed to new replies.

 * ![](https://ps.w.org/nginx-helper/assets/icon.svg?rev=2360932)
 * [Nginx Helper](https://wordpress.org/plugins/nginx-helper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nginx-helper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nginx-helper/)
 * [Active Topics](https://wordpress.org/support/plugin/nginx-helper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nginx-helper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nginx-helper/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [purge cache](https://wordpress.org/support/topic-tag/purge-cache/)
 * [Remote](https://wordpress.org/support/topic-tag/remote/)

 * 1 reply
 * 1 participant
 * Last reply from: [bcolflesh](https://wordpress.org/support/users/bcolflesh/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/remotely-purge-cache/#post-6855068)
 * Status: resolved