Quick Cache (Speed Without Compromise)
[resolved] New Comments don't clear cache (3 posts)

  1. Andrew Wilder
    Posted 3 years ago #

    Just installed Quick Cache and everything seems to be working great - Except, I've noticed that when someone leaves a comment on a post, that particular post is not updated immediately in the cache.

    I have the Dynamic Cache Pruning set to "Single + Front Page".

    This is a big problem for us - any suggestions on how to get a new comment to trigger a cache refresh for that page?



  2. Kimberly
    Posted 3 years ago #

    You can fix this go into hooks.inc.php and add:

    add_action ("comment_post", "c_ws_plugin__qcache_clearing_routines::clear_on_post_page_creations_deletions");

    You may need to modify a tad more so if need be check out my other thread..its similar but you are specifically only dealing with "comment_post" not the other actions it talks about: http://wordpress.org/support/topic/scheduled-posts-this-plugin-refuses-to-update-1?replies=8

  3. Andrew Wilder
    Posted 3 years ago #

    Thanks Kimberly. I actually switched back to W3 Total Cache (it has other functionality we want, too). It does seem like this customization should be part of the Quick Cache built-in functionality; hopefully in a future update!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic