[Opensymphony-oscache] Re: Got "HTTP/1.1 304 Not Modified" When Press Ctrl + F5
Deep Blue <[email protected]> Sun, 10 Dec 2006 19:48:07 CST
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <22127452.1165801768773.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Hm.. Interesting. Are you using the filter/filterTest.jsp? What server you're using? I'm using tomcat 5.5. Using Firefox 2.0, Live HTTP headers plugin, filter/filterTest.jsp, I got the following result: 1. Pressing F5 : [i]http://localhost:8080/testApp/filter/filterTest.jsp GET /testApp/filter/filterTest.jsp HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://localhost:8080/testApp/index.html Cookie: JSESSIONID=EDD3C70107F656C9E76E4EFEB08A20DD If-Modified-Since: Mon, 11 Dec 2006 01:34:53 GMT Cache-Control: max-age=0 HTTP/1.x 304 Not Modified Server: Apache-Coyote/1.1 Date: Mon, 11 Dec 2006 01:38:28 GMT ----------------------------------------------------------[/i] 2. Pressing Ctrl+F5 : http://localhost:8080/testApp/filter/filterTest.jsp [i] GET /testApp/filter/filterTest.jsp HTTP/1.1 Host: localhost:8080 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://localhost:8080/testApp/index.html Cookie: JSESSIONID=EDD3C70107F656C9E76E4EFEB08A20DD Pragma: no-cache Cache-Control: no-cache HTTP/1.x 200 OK Server: Apache-Coyote/1.1 Last-Modified: Mon, 11 Dec 2006 01:34:53 GMT Cache-Control: max-age=60 Content-Type: text/html Content-Length: 330 Date: Mon, 11 Dec 2006 01:42:31 GMT ----------------------------------------------------------[/i] seems like this one is ok. I'll try again using the configuration of the sample application. Thanks! --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=52057&messageID=106531#106531