How can any page on the site be forced to refresh or load content by ignoring anything in cache, everytime a visitor visits the page for the second time? The website uses twentyeleven & w3tc (browser caching disabled at the moment).
1 comment
Comments are closed.
Since, your site already uses W3 Total Cache plugin, let me provide a solution based on it.
Please visit yoursite’s wp-admin/admin.php?page=w3tc_browsercache and look for the text “Set cache control header”. Check this option, if it is unchecked, and then choose “no-cache” for the “Cache control policy”. This needs to be done in three places…
If you do not wish to use W3 Total Cache plugin for some reason, you may set the following in ‘htaccess’ file or in Apache configuration, assuming your server has mod_headers module…