On 13 Jun 2008, at 23:20, R B wrote:
The video manual it´s not for me, it´s for a customer and he don´t
want to be cached in the client machine...
If you put in firefoxin the url area: about:cache , firefox
display the Memory cache and the Disk cache...
I search in both caches, and the video appears in the memory cache.
Sorry, but that doesn't answer the question of why you/he doesn't want
it to be cached. If he's trying to protect the videos from being
copied then you're going to need to make it clear to him that you
can't stop that from happening without DRM which is a whole other
kettle of fish and usually not worth it.
Aside from that I'm not aware of anything else you can do to stop
clients caching your content. At the end of the day you have no
reliable control over what happens after the data leaves the server.
-Stut
--
http://stut.net/
On Fri, Jun 13, 2008 at 4:17 PM, Stut <stuttle@xxxxxxxxx> wrote:
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/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php