Title: [Plugin: Quick Cache ( Speed Without Compromise )] Clearing cache selectively
Last modified: August 20, 2016

---

# [Plugin: Quick Cache ( Speed Without Compromise )] Clearing cache selectively

 *  [ssj_costy](https://wordpress.org/support/users/ssj_costy/)
 * (@ssj_costy)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-quick-cache-speed-without-compromise-clearing-cache-selectively/)
 * Hi everyone,
 * I have some posts displayed that can appear on more than one page. I’ve made 
   an action on save_post and on delete_post so that I can get all those pages and
   clear the cache only for them.
 * I’m calling the static function clear_on_post_page_creations_deletions ($id =
   FALSE) from the c_ws_plugin__qcache_clearing_routines class.
 * The thing is I also have some predefined query strings set on some of these pages,
   and I’ve activated caching of query string GET requests in the quick cache admin
   options.
 * The problem is that by calling that function, the cache for the page is cleared,
   but it’s not cleared for the page with query strings as well – that one still
   remains cached.
 * So how could I clear the cache for a page and all the versions of that page with
   the query strings.
    I must mention again, I have just a few query strings possible,
   so I can iterate through them.
 * By the way, this is a great plugin, I’ve been using it for a while and it’s been
   flawless 🙂
 * Best regards,
    Costin
 * [http://wordpress.org/extend/plugins/quick-cache/](http://wordpress.org/extend/plugins/quick-cache/)

Viewing 1 replies (of 1 total)

 *  [Kimberly](https://wordpress.org/support/users/kellogg9/)
 * (@kellogg9)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-quick-cache-speed-without-compromise-clearing-cache-selectively/#post-3128415)
 * Because this plugin uses MD5 hashing to construct the filenames for caching i
   would imagine you would need to pass a variable to let the static function know
   if its the query string variation of the page so that it can build the proper
   md5 filename for it. That variable’s contents should be the entire query string
   so qc can then append prior to hashing. At least that is what i would do.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Quick Cache ( Speed Without Compromise )] Clearing cache selectively’
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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kimberly](https://wordpress.org/support/users/kellogg9/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-quick-cache-speed-without-compromise-clearing-cache-selectively/#post-3128415)
 * Status: not resolved