WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] Dynamic content (3 posts)

  1. erikhgm
    Member
    Posted 2 years ago #

    Is there a way to prevent a section from being cached?

  2. likethegoddess
    Member
    Posted 2 years ago #

    I've used WP Super Cache and entered strings in the field on the Advanced tab to prevent sections from being cached. There may be a similar feature in W3 Total Cache.

  3. tgeorge
    Member
    Posted 2 years ago #

    If by section, you mean section of a site: then, it's "Page Cache" tab > "Never cache the following pages".

    If by section, you mean section of a page: then, it's:

    <!--mfunc -->
    echo rand();
    <!--/mfunc -->

    Note that it's "mfunc" not "mclude". Also, do not use <?php ?> tags inside "mfunc".

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic