Re: How to specify to browser to cache contents?

From: Date: Mon, 30 Sep 2002 06:23:41 +0000
Subject: Re: How to specify to browser to cache contents?
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-118163@lists.php.net to get a copy of this message
Chris Shiflett wrote:
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");
I'll try that! But what I want is for the browser to use the cached copy if the server copy has not changed. Will no-cache do this? Jc

« previous php.general (#118163) next »