Mailing List Archive

[Bug 7847] - Reverse proxy server caching 304 responses from origin server
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7847>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7847

Reverse proxy server caching 304 responses from origin server

minfrin@sharp.fm changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID



------- Additional Comments From minfrin@sharp.fm 2002-04-14 20:01 -------
Apparently this is an IIS bug.

When your browser specified "no-cache" to the proxy, what it meant was "please
revalidate this data before returning it to me". So, the proxy sent a
conditional request to the IIS server with the "If-None-Match" header. The IIS
server responded correctly saying 304 Not Modified, which means "in answer to
your question, no, the data was not modified, so your cached data is correct,
send it as is along with these changes in headers". One of the headers that was
changed was the content-length header, which was set to zero. So Apache sent a
response back with a zero content-length, thus your blank page.