Re: cache control at client

From: Date: Thu, 12 Apr 2007 14:45:50 +0000
Subject: Re: cache control at client
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-27679@lists.php.net to get a copy of this message
What I generally use for no-cache is this: <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> Also, to force it to work correctly, I've seen people do stuff like this: <HTML> <HEAD> <TITLE> Pragma No-cache </TITLE> </HEAD> <BODY> This is an example of where to place the second header section<br> so that the "Pragama, No-Cache" metatag will work as it is supposed to.<br> </BODY> <HEAD> <!-- Note the second header tag --> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> </HEAD> </HTML> Supposedly there are problems with the pragma no-cache method, which can be solved by adding an extra head-tag with the pragma meta setting, after the </body> I've never tried that though. Mike Alf Stockton skrev:
I have set:- <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="Mon, 22 Jul 2000 11:12:01 GMT" in the header are of all my pages but still until the user does a reload in both IE & Firefox they do not see the new screen. Please tell me what else I can do to force the browser to not cache anything ever. I am not in a position of altering the client browser settings despite this being an intranet system.


« previous php.windows (#27679) next »