Title: [Plugin: Quick Cache ( Speed Without Compromise )] wp_update_post() doesn&#039;t purge post cache
Last modified: August 20, 2016

---

# [Plugin: Quick Cache ( Speed Without Compromise )] wp_update_post() doesn't purge post cache

 *  [bigneno](https://wordpress.org/support/users/bigneno/)
 * (@bigneno)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-quick-cache-speed-without-compromise-wp_update_post-doesnt-purge-post-cache/)
 * Hi,
    I use **[wp_update_post()](http://codex.wordpress.org/Function_Reference/wp_update_post)**
   in my theme which triggers **save_post** action.
 * I have “Single + Front Page” purging set in my cache settings, but it doesn’t
   work with this function.
 * Is there any way to manually clear specific cache using theme functions?
 * [http://wordpress.org/extend/plugins/quick-cache/](http://wordpress.org/extend/plugins/quick-cache/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [bigneno](https://wordpress.org/support/users/bigneno/)
 * (@bigneno)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-quick-cache-speed-without-compromise-wp_update_post-doesnt-purge-post-cache/#post-2697765)
 * I found a solution:
 * 1. Edit plugins/quick-cache/includes/classesclearing-routines.inc.php
 * 2. Find and comment out this conditional check (lines 34,35,122):
 *     ```
       //if (is_blog_admin () && in_array ($pagenow, ($pages = array ("edit.php", "post.php", "post-new.php"))))
       // {
       // }
       ```
   
 * Cache clearing now works whenever you call save_post (for example by using wp_update_post()),
   so you don’t have to use admin post editor.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Quick Cache ( Speed Without Compromise )] wp_update_post() doesn't
purge post cache’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-cache_efefef.svg)
 * [Quick Cache (Speed Without Compromise)](https://wordpress.org/plugins/quick-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-cache/reviews/)

## Tags

 * [save_post](https://wordpress.org/support/topic-tag/save_post/)
 * [wp_update_post](https://wordpress.org/support/topic-tag/wp_update_post/)

 * 1 reply
 * 1 participant
 * Last reply from: [bigneno](https://wordpress.org/support/users/bigneno/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-quick-cache-speed-without-compromise-wp_update_post-doesnt-purge-post-cache/#post-2697765)
 * Status: not resolved