Re: N7: Media (Page Info Tab) contents not cached bug?

From: Date: Mon, 30 Sep 2002 07:36:01 +0000
Subject: Re: N7: Media (Page Info Tab) contents not cached bug?
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-118173@lists.php.net to get a copy of this message
First off thanks for all the help! Chris Shiflett wrote:
Sorry, I thought you were interested in the difference in behavior between your Netscape 7 and IE.
Actually I am interested in knowing why the View Info Page| Media tab says my jpg is cached but my jpg is not ...
If you just want to allow caching, try header("Cache-Control: public").
Great. I'll do that!
Also, you are speaking about images but showing the HTTP transaction used to retrieve the HTML. You will want to examine the HTTP transaction used to fetch the image itself in order to analyze the caching behavior of your browser with respect to that image.
I gave the whole HTTP headers in a msg in this thread just a few minutes ago ... talking about a bug in N7 with jpg's and gif's.
For images, unless you are generating them in PHP, it's going to be a Web server configuration to change any headers.
Oh ... whould you know which one for Apache? It seems that gifs are not being cached whereas jpegs are.
This all may make little sense, as it is extremely late here (east coast US). If it confuses more than helps, just ignore it. :-)
Nope, you've been a great help so far! I now know: 1- which header to use to turn caching on 2- that there is a problem between caching of jpeg's and gif's I know have to find oout if there difference in caching behaviour for the gif/jpeg's is a browser problem (I doubt it) or an apache setting. Jc

« previous php.general (#118173) next »