Re: cache..

From: Date: Tue, 29 Aug 2000 01:27:55 +0000
Subject: Re: cache..
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-14038@lists.php.net to get a copy of this message
GaryB wrote: > <meta http-equiv="pragma" content="no-cache"> only works on IE. You > will have > to make it expire in netscape > <meta http-equiv="Expires" content="Mon, 06 Jan 1990 00:00:01 GMT"> Just for the record. I've seen over half a dozen ways of specifying no cache. These days I just use them all and hope things work out. ------------------- <?php header("Pragma: no-cache"); header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Cache-Control: no-cache"); ?><html> <head> <meta content="no-cache"> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="Expires" content="Mon, 06 Jan 1990 00:00:01 GMT"> -------------------- Also the occasional: header("Cache-Control: private"); doesn't seem to hurt either when using sessions and log in stuff. Does any one know what the Right Thing is? -- Simon Edwards Animated Design, Melbourne http://www.animated.net.au/ Ph: (03) 98850990

« previous php.general (#14038) next »