Just a word to the wise, but "Expires: -1" will trip up some proxies.
HTTP/1.1 clients are supposed to treat invalid date formats as being
in the past -- but they don't always get it right.  It is safer to use
an actual date:

Expires: Thu, 01 Dec 1994 16:00:00 GMT






On May 17, 2:04 pm, Bil Corry <[EMAIL PROTECTED]> wrote:
> Charles Capps wrote on 5/17/2007 11:51 AM:
>
> > When in doubt, whack'em all.
>
> > Pragma: no-cache
> > Cache-control: no-cache, must-revalidate
> > Expires: (some date in the past in the proper format)
>
> I'm not sure which one IE follows, but here's mine:
>
>         Expires: -1
>         Last-Modified: Thu, 17 May 2007 18:59:28 GMT
>         Cache-Control: no-store, no-cache, must-revalidate, no-transform, 
> max-age=0, post-check=0, pre-check=0
>         Pragma: no-cache
>         Vary: *
>         Etag: "7F0000010c9fb1C4D8lUXr1BEFAD"
>
> Last-Modified is the current date/time at GMT, Etag is just a random value on 
> every page serve (don't make it a constant value).
>
> - Bil

Reply via email to