View Single Post
Old 15-10-2006, 15:29   #66
Chrysalis
cf.mega poster
 
Join Date: Sep 2003
Posts: 12,050
Chrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronzeChrysalis is cast in bronze
Chrysalis is cast in bronze
Re: NTL proxy problems

ok source here ftp://ftp.rfc-editor.org/in-notes/rfc2965.txt

Quote:
To allow caching of a document and require that it be validated
before returning it to the client:

Cache-Control: must-revalidate, max-age=0

* To allow caching of a document, but to require that proxy
caches (not user agent caches) validate it before returning it
to the client:

Cache-Control: proxy-revalidate, max-age=0

* To allow caching of a document and request that it be validated
before returning it to the client (by "pre-expiring" it):

Cache-control: max-age=0

Not all caches will revalidate the document in every case.
the ntl proxies arent doing this.

Quote:
HTTP/1.1 servers MUST send Expires: old-date (where old-date is a
date long in the past) on responses containing Set-Cookie2 response
headers unless they know for certain (by out of band means) that
there are no HTTP/1.0 proxies in the response chain. HTTP/1.1
servers MAY send other Cache-Control directives that permit caching
by HTTP/1.1 proxies in addition to the Expires: old-date directive;
the Cache-Control directive will override the Expires: old-date for
HTTP/1.1 proxies.
not sure if still the case but before the proxies werent http 1.1 compliant introducing the above situation
Chrysalis is offline   Reply With Quote