Title: Delete page specific object cache
Last modified: January 11, 2017

---

# Delete page specific object cache

 *  Resolved [andyphillips82](https://wordpress.org/support/users/andyphillips82/)
 * (@andyphillips82)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/delete-page-specific-object-cache/)
 * Curious, is there any thought of adding a ‘flush cache’ option to the object 
   cache that would delete the keys for a specific page. It would be a handy feature.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Dion Hulse](https://wordpress.org/support/users/dd32/)
 * (@dd32)
 * Meta Developer
 * [9 years, 4 months ago](https://wordpress.org/support/topic/delete-page-specific-object-cache/#post-8644168)
 * Unfortunately that kind of functionality should be required to be added by the
   object caches themselves.
    There’s no hooks or filters in the cache api to allow
   debug bar to do it itself, we can only look at the stats after the fact.
 *  Thread Starter [andyphillips82](https://wordpress.org/support/users/andyphillips82/)
 * (@andyphillips82)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/delete-page-specific-object-cache/#post-8647213)
 * You’ve gathered the list of transients used on that page.
 * Could you not in theory create a button that when clicked, loops through the 
   list of those transients and uses the delete_transient WP function?
 *  Thread Starter [andyphillips82](https://wordpress.org/support/users/andyphillips82/)
 * (@andyphillips82)
 * [9 years ago](https://wordpress.org/support/topic/delete-page-specific-object-cache/#post-9150897)
 * Created a plugin that works in conjunction with debug bar. Sort of hacky, but
   gets the job done.
 * [https://github.com/andyphillips82/wp-page-transient-flush](https://github.com/andyphillips82/wp-page-transient-flush)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Delete page specific object cache’ is closed to new replies.

 * ![](https://ps.w.org/debug-bar/assets/icon.svg?rev=3050748)
 * [Debug Bar](https://wordpress.org/plugins/debug-bar/)
 * [Support Threads](https://wordpress.org/support/plugin/debug-bar/)
 * [Active Topics](https://wordpress.org/support/plugin/debug-bar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/debug-bar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/debug-bar/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [andyphillips82](https://wordpress.org/support/users/andyphillips82/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/delete-page-specific-object-cache/#post-9150897)
 * Status: resolved