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?