Re: Internet Explorer Caching
| From: | Richard Heyes | Date: | Wed, 29 Aug 2007 15:50:53 +0000 |
| Subject: | Re: Internet Explorer Caching | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261458@lists.php.net to get a copy of this message | ||
Charlene wrote:
I've been having problems with Internet Explorer caching php programs. I'm using the following code:
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Pragma", "no-cache");
header("Expires", "-1");
And it used to work, but now, according to Windows Explorer its giving it 3 hours to expire.
Are you sure? By default PHP pages/scripts don't send any caching headers and hence don't get cached. You can check this using: http://www.fiddlertool.com
--
Richard Heyes
+44 (0)844 801 1072
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk software
that can cut the cost of online support