WordPress.org

Support

Support » Plugins and Hacks » WP Super Cache » [Plugin: WP Super Cache] Refresh all posts of a single category only

[Plugin: WP Super Cache] Refresh all posts of a single category only

  • Hello

    Here is my situation:

    I am on a single post page. Let’s say the article is called “Fat Dogs”. This post is filed under the category “Dogs”.

    On the sidebar of this page, is a dynamic php code that lists all of the other posts of the same category. Therefore, it lists a link to the article called “Skinny Dogs”, because that post was filed under the category “Dogs”.

    Makes sense?

    Both of these pages have been cached.

    1 day later I make a new post, called “Medium Dogs”. I file it under the category “Dogs”. I visit the post page for “Medium Dogs”, I see both the Skinny and Fat Dogs articles in the sidebar.

    I click the Fat Dogs article. I am now on Fat Dogs article, I look on the sidebar…I do not see the Medium Dogs article. Because super cache makes it static html….

    I do not want to enable garbage collecting.

    Rather, I want something a little custom. When I make a New Post under the category “Dogs”, I want Super cache to automatically flush the cache of all the old posts in the same category “Dogs”.

    How can I go about doing this?

    P.S. a similar problem would be those sites that have “Next, Previous” post links at the bottom of their posts…the 2nd latest post would usually not have a “Next” link to the most recent post because it was cached”.

  • The topic ‘[Plugin: WP Super Cache] Refresh all posts of a single category only’ is closed to new replies.
Skip to toolbar