Title: Programatically clear catch for certain query URI
Last modified: August 20, 2016

---

# Programatically clear catch for certain query URI

 *  [exbm](https://wordpress.org/support/users/exbm/)
 * (@exbm)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/programatically-clear-catch-for-certain-query-uri/)
 * I saw a post that showed how to use w3tc to clear the catch programatically.
 * However I don’t want to clear the whole catch. Can the catch be cleared based
   on uri so for instance if i had a page like wordpress.com/?query_var=”custom-
   page”
 * could i clear that when i detect that custom page be updated.
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

The topic ‘Programatically clear catch for certain query URI’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [exbm](https://wordpress.org/support/users/exbm/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/programatically-clear-catch-for-certain-query-uri/)
 * Status: not resolved