How do I get W3 Total Cache not to cache sidebars? [closed]

At the moment I run PHP code in my side bars. Even though I have the following

header("Pragma: no-cache");
header("cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past

It still appears to serve cached content.

3 Answers
3

This can be accomplished with fragment caching feature that W3TC has. Had been asked/answered couple times.

Leave a Comment