Mantis - Resin
Viewing Issue Advanced Details
1460 major always 11-15-06 12:53 11-27-06 14:34
ve6eei  
ferg  
normal  
closed 3.0.21  
fixed  
none    
none 3.1.0  
0001460: IE6 not responding to http 304 message properly
We are running into a problem with ie6 and ie7 not responding properly to http 304 message from Resin Applications. If ie6/7 sends a If-Modified-Since header in a request for a static file like a .gif file the browser will not load the file from it's cache.

SENT:

GET https://itswiki.epsb.ca:443/confluence/images/icons/print_16.gif [^] HTTP/1.1
Accept: */*
Referer: https://itswiki.epsb.ca/confluence/dashboard.action [^]
Accept-Language: en-us
Accept-Encoding: gzip, deflate
If-Modified-Since: Fri, 01 Aug 2003 07:46:10 GMT
If-None-Match: "4oe9phDSl61"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: itswiki.epsb.ca
Connection: Keep-Alive
Cookie: JSESSIONID=abcAnPjeoInbF_4onoT7q


RESPONSE:

HTTP/1.1 304 Not Modified
Connection: close
Date: Wed, 15 Nov 2006 20:06:49 GMT
Server: Microsoft-IIS/6.0
ETag: "4oe9phDSl61"
Content-length: 0
X-Transfer-Encoding: chunked
Content-length: 0

Is there a way to have resin not respond to If-Modified-Since headers?

This is happening on all of our servers, production and development.

This problem doesn't exist under Fire Fox, and if I proxy the IE6 thru WebScarab to see what is happening the problem goes away.

Thanks,

Evan

The web servers are Windows 2003 Enterprise. IIS6 and Resin Pro 3.0.21

Notes
(0001587)
ve6eei   
11-15-06 14:59   
I just found that if you set IE6 to use http 1.0 instead of Http 1.1 the problem goes away as well. The only thing I can see different is HTTP 1.0 doesn't support chunked encoding. I can't tell is the problem is a bad header from the server, or a cache bug in IE.

--Evan

(0001588)
ve6eei   
11-16-06 09:33   
I've narrowed it down some more. IE6/7 doesn't seem to like the Chunked Encoding along with the HTTP 304. I stepped back to V3.0.14 which doesn't respond with Chunked Encoding, and is well. So for now I will have to back rev to V3.0.14 until there is a work around for this problem.

--Evan
(0001589)
ve6eei   
11-16-06 09:38   
Here is an example of one that is working.

SENT:

GET https://itswiki.epsb.ca:443/confluence/images/border/border_bottom.gif [^] HTTP/1.1
Accept: */*
Referer: https://itswiki.epsb.ca/confluence/homepage.action [^]
Accept-Language: en-us
Accept-Encoding: gzip, deflate
If-Modified-Since: Wed, 28 May 2003 08:12:24 GMT
If-None-Match: "917MTWheLTd"
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Host: itswiki.epsb.ca
Connection: Keep-Alive
Cookie: JSESSIONID=aeSEyh6P7g-4KCQ1X7

RESPONSE:
HTTP/1.1 304 Not Modified
Connection: close
Date: Thu, 16 Nov 2006 17:36:09 GMT
Server: Microsoft-IIS/6.0
ETag: "917MTWheLTd"
Content-length: 0