On Thu, 13 Nov 2003, Greg Kerdemelidis wrote:

> 
> Hmm. I had lots of problems with cache expiration and form submits with an
> earlier version of Moz. Essentially, it totally ignored my cache pragma
> directives, but there's no need to get into that right now...
> 
> It seems the major difference between your two headers is the actual time of
> the expiration -- maybe Mozilla just ignores dates from 1969?
> 
> You could set the expiration time to be Now + 2 seconds, which would
> essentially invalidate the cached copy by the time it gets served and
> rendered.
> 
> Also, it appears that max-age: shouldn't be a header in its own right, but a
> part of the Cache-control header.
> 
> Good luck.
> 
> -Greg
> 

I think you are right about max-age.. I found some code from macromedia 
that used the setDateHeader for max-age which now I think is incorrect 
(don't trust all the code you find on the web ;P )

I'll play with the date some more and see if I can find the correct 
answer.

This was using mozilla 1.5 btw.


-- 
Regards,

Jeffery Painter



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to