latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Quick Cache – Selectively clearing cache

Home Forums Community Forum Quick Cache – Selectively clearing cache

This topic contains 0 replies, has 1 voice. Last updated by  Costin Popescu 4 years, 2 months ago.

Topic Author Topic
Posted: Thursday Oct 18th, 2012 at 6:18 pm #28928

Hello,

First of all, I must say that I’ve been using the WordPress Quick Cache plugin for a while and it’s been flawless and very easy to set up.

But now I’m facing a problem:
I have some posts 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.

Best regards,
Costin

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.