RE: [slightly OT] cache refusal problem with IE, http headers

2000-09-25 Thread Geoffrey Young
rth noting as well... http://support.microsoft.com/support/kb/articles/Q234/0/67.ASP HTH --Geoff > -Original Message- > From: Ime Smits [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 19, 2000 5:41 AM > To: [EMAIL PROTECTED] > Subject: [slightly OT] cache refusal prob

Re: [slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread Ime Smits
| > 8 Content-Length: 294 | > 8 Content-Length: 327 | How come that the sizes are different? The images are dynamically generated png's with GD, but however the contents may change every time you view a page, it's not necessary for the browser to constantly get a fresh copy when doing a javascrip

Re: [slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread Alexander Farber (EED)
Ime Smits wrote: > Below is a sample of the headers it returns. Any ideas? Anything that is > communicated without me seeing it? > > 8 Content-Length: 294 > > and here for the same image, but as a normal static file fron disk: > 8 Content-Length: 327 How come that the sizes are different?

Re: [slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread Ime Smits
OK, did it the hardway: after a lot of tcpdump -i -s 500, grepping and stringing, I tackled it. Halfway. IMHO, it boils down to both a IE bug and a somehow 'hidden' feature of Apache. It seems that on script execution an extra header "Vary: Host" is sent to the browser. This is what the RFC's sa

Re: [slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread Chris Winters
* G.W. Haywood ([EMAIL PROTECTED]) [000919 06:54]: > Hi there, > > On Tue, 19 Sep 2000, Ime Smits wrote: > > > Does anybody know of a tool to get a complete log on every piece of > > information communicated between browser and server? > > 'sfunny, I asked Josh the same question a couple of wee

Re: [slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread G.W. Haywood
Hi there, On Tue, 19 Sep 2000, Ime Smits wrote: > Does anybody know of a tool to get a complete log on every piece of > information communicated between browser and server? 'sfunny, I asked Josh the same question a couple of weeks ago... I think it's called a packet sniffer. I've had some suc

Re: [slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread Ime Smits
| I saw your header, but couldn't tell that it was for tomorrow, | with the GMT time zone info. I don't read GMT go figure ;) Euhmmm... If I'm not mistaken, 19 october actually is next *month*, even in your timezone ;) | ... maybe IE is "smart" enough to see the .pl in the path and guess | that

Re: [slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread Joshua Chamas
I saw your header, but couldn't tell that it was for tomorrow, with the GMT time zone info. I don't read GMT go figure ;) What I would recommend is trying to match the headers exactly as when serving up the static file since we know that works, oh and make sure the file extension is the same to

Re: [slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread Ime Smits
| In your Apache::ASP version, try setting Expires to tell IE | to cache explicitly... | $Response->{Expires} = 86400; # cache until tomorrow I did that. And and also tried $r->add_header('Expires',HTTP::Date::time2str(time+86400)); in a normal .pl file. In fact, the first header dump in my pre

Re: [slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread Joshua Chamas
In your Apache::ASP version, try setting Expires to tell IE to cache explicitly... $Response->{Expires} = 86400; # cache until tomorrow --Joshua _ Joshua Chamas Chamas Enterprises Inc. NodeWorks >> free

[slightly OT] cache refusal problem with IE, http headers

2000-09-19 Thread Ime Smits
Hi, I tried to nail this problem down for over 6 hours now. I use GD.pm to dynamically generate images used in a dynamically generated Apache::ASP page. Each image is given a name which is unique (in fact: a md5 on the original name, width, height, color depth). Some of these images are used in a