WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Test selective disabling of W3TC on page (4 posts)

  1. traffas
    Member
    Posted 2 years ago #

    I have the requirement of disabling W3TC on pages for specific user, defined with a specific cookie. When I sniff for the cookie and apply the

    define('DONOTCACHEPAGE', true);

    directive in wp-config.php, I still see this in my source code after the footer.

    <!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

    Page Caching using disk: enhanced

    Is this the best way to try to disable caching for specific users? If so, how can I be sure the DONOTCACHEPAGE directive is being honored?

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. traffas
    Member
    Posted 2 years ago #

    Is there a better documentation somewhere for the DONOTCACHEPAGE options than that which is included in the FAQ?

  3. cyonite
    Member
    Posted 2 years ago #

    If you have a cookie you can set it up to not return cache when it receives that cocky. Page Cache-> Advanced Rejected Cookies:

  4. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    @traffas, sorry no.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic