Title: Clear cache programmatically
Last modified: October 25, 2018

---

# Clear cache programmatically

 *  Resolved [dareenzo](https://wordpress.org/support/users/dareenzo/)
 * (@dareenzo)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/clear-cache-programmatically-3/)
 * Hi,
 * I’d like to know is there a way to programmatically clear the cache of W3TC.
   
   I have this setup with automated deployment and would like to perform some cache
   busting upon each deploy. Is this possible and how?
 * Thanks

Viewing 1 replies (of 1 total)

 *  [bgdstr](https://wordpress.org/support/users/bogdanstratulat/)
 * (@bogdanstratulat)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/clear-cache-programmatically-3/#post-10816290)
 * here you can find some steps that you can take so you can clear cache from time
   to time:
 * [https://techjourney.net/automatically-flush-purge-w3tc-w3-total-cache/](https://techjourney.net/automatically-flush-purge-w3tc-w3-total-cache/)
 * I hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Clear cache programmatically’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [bgdstr](https://wordpress.org/support/users/bogdanstratulat/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/clear-cache-programmatically-3/#post-10816290)
 * Status: resolved