Re: Memory cache problem
| From: | Stut | Date: | Fri, 13 Jun 2008 22:17:07 +0000 |
| Subject: | Re: Memory cache problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275374@lists.php.net to get a copy of this message | ||
On 13 Jun 2008, at 23:12, R B wrote:
I´m making a video manual, but i don´t want to be cached in the client machine. I make a script like this: <?php header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); readfile($video_name); ?> With Internet explorer the script works fine. But Firefox have two types of cache: Memory cache and disk cache. With firefox disk cache, the script works fine, because don´t appears in the disk cache, but i have problems with the Memory cache. How can i avoid to appears in the firefox memory cache?Why don't you want it cached? What makes you think it's cached in memory on FF? -Stut -- http://stut.net/