• Resolved Doug

    (@nicoblog)


    If you use any caching plugin like most people. What happens with Better Recent Comments? Will it display the latest recent comments or the ones at the time the cache was created?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Doug,

    If you’re using a caching plugin which caches whole pages (e.g. Page Cache in W3 Total Cache) then the whole page – including any comments returned by Better Recent Comments – will be retrieved from the cache, so they may not be the latest comments.

    For other types of caching (e.g. object caching) then the comments may be returned from the cache if it hasn’t been flushed, so they could again be out of date. However most caching plugins will flush the cache when changes occur (e.g. new posts or new comments added).

    Basically, our plugin is similar to the in-built “Recent Comments” widget provided by WordPress so whether or not the comments are cached will be the same in our plugin as it is for the standard WordPress widget.

    Hope that helps…

    Andy

    Thread Starter Doug

    (@nicoblog)

    Thank you, i understand.
    Currently i use a disqus javascript to load recent comments so even if the page is cached the javascript shows the latest posts. As i’m leaving wordpress for self hosted comments i’m not sure how to reproduce this behavior.

    Hmm, sorry, I don’t know how to replicate this behaviour with standard WordPress comments (short of building something similar to Disqus). At the moment, I think it falls outside the scope of the plugin.

    Sorry I can’t be more help…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how does it handle CACHED pages’ is closed to new replies.