Forum Moderators: open
Is there a way to stop the txt files from caching but not the image files. In fact just stoping all files from being cached will be a good start.
I have tried:
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
without success.
Php is an option on my server if there is a way it can do it.
To combine several header methods, call this cache-buster.php:
<?
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
header("Expires: Mon,26 Jul 1997 05:00:00 GMT");
?>
<added>
One way to call it is to use:
<?
php include("cache-buster.php");
?>