WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
WP servers old cache when new comments are done (3 posts)

  1. rmoralf
    Member
    Posted 2 years ago #

    Hello,

    I want to ask for a solution to my problem with WP Super Cache.

    Everything works very fast now thanks to the plugin, but when a comment is done, it doesn't appear in the "Last Comments" part of my sidebar when I'm in the homepage. In fact, when I access a single post, the sidebar is updated, but not in the homepage.

    The function which displays the lattest comments is:

    <?php if (function_exists('get_recent_comments')) { ?>
    	<?php get_recent_comments(); ?>
       <?php } ?>

    I tried to make it dynamic but I can't do it succesfully :\

    Which options should I pick in the Advanced tab of Super Cache to reload all the cache when a comment is done?

    Thanks in advantage.

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. froomkin
    Member
    Posted 2 years ago #

    I'm having a similar problem with comments not updating on supercached pages. Please see https://wordpress.org/support/topic/plugin-wp-super-cache-comments-do-not-show-on-pages-1?replies=1 for details.

  3. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    rmoralf - you need to use the dynamic cached pages feature of the plugin. Check the documentation as it's all explained there but requires coding and editing of your theme. (or creation of a plugin)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic