Re: How to specify to browser to cache contents?
| From: | Chris Shiflett | Date: | Mon, 30 Sep 2002 06:14:42 +0000 |
| Subject: | Re: How to specify to browser to cache contents? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118161@lists.php.net to get a copy of this message | ||
Luckily, it doesn't matter too much where it is set, because you should be able to set your own with PHP (I think PHP may set it actually when you use PHP's sessions). First, try something simple:
header("Cache-Control: no-cache");
See if that does the trick. Do you have any way of viewing the HTTP transaction to be sure?
Chris
Jean-Christian Imbeault wrote:
Where is this "no-store"/"no-cache" directive? PHP, Apache? I don't remember "intentionally" setting it :)