Re: "no-store" and "no-cache" = no files in browser"s cache ?
| From: | Christian David | Date: | Sat, 11 Sep 2004 15:06:16 +0000 |
| Subject: | Re: "no-store" and "no-cache" = no files in browser"s cache ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196402@lists.php.net to get a copy of this message | ||
Bart Coninckx wrote:
> header('Cache-Control: no-store, no-cache, must-revalidate'); //
> HTTP/1.1
> header('Cache-Control: post-check=0, pre-check=0'); // damnable IE5
You overwrite the first Cache-Control command, use:
header("Cache-Control: post-check=0, pre-check=0", false);
Now both Cache-Control commands are being sent.
Christian