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

  1. traffas
    Posted 3 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?


  2. traffas
    Posted 3 years ago #

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

  3. andreasnrb
    Posted 3 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
    Plugin Author

    Posted 3 years ago #

    @traffas, sorry no.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic