Re: cache control at client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux