• Hi,

    Is there a way to exclude comments from caching ? I need that the website see if an user is logged, then allow it to send comments via the comment form, wich is impossible if posts are cached ??

    I looked after mfunc, but i’m not sure that’s the better way to di this.

    I use wp 3.4.1/BPress:1.6.1 /bbPress: 2.1.2 and the w3tc (so everything is up to date)

    https://www.ads-software.com/extend/plugins/w3-total-cache/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mouffles

    (@mouffles)

    Hello there,
    After long Google search i found that’s it’s not a normal behaviour. My comment form in posts and pages are cached, when it should not.

    So i tried not to minify reply.js, mfunc comment_template (result : white page), nohing worked, i use custom community as theme, and it could come from this.

    Please help me ??

    Also getting white page with:

    <!-- mfunc comments_template(); --><!-- /mfunc -->

    anyone got this working?

    mouffles, turned out it works using this code:

    <!-- mfunc comments_template(); --><?php comments_template(); ?><!-- /mfunc -->

    Don’t ask me why, this feature really lacks an official documentation…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: W3 Total Cache] [W3TC] exclude comments and comment form from cache’ is closed to new replies.