[viewvc-users] Query view is too cache happy?

John Beranek <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization John@Home
Message-ID <4A2FC62D.6060500__45591.5208942772$1244644933$gmane$org@redux.org.uk>
Using ViewVC 1.1.1 on a Subversion repository, I was just utterly 
baffled by returned query results, until I realised the results were 
just (erroneously) cached.

I'd earlier done a particular query, and then later come back and done 
exactly the same query.

Below is the output from Live HTTP headers performing the query the 
second time:

GET 
/viewvc/svntest2/?view=query&dir=&file=&file_match=exact&who=&who_match=exact&comment=&comment_match=exact&querysort=date&hours=2&date=all&mindate=&maxdate=&limit_changes=100 
HTTP/1.1
Host: svn.example.com
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.10) 
Gecko/2009042708 Fedora/3.0.10-1.fc10 Firefox/3.0.10
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: 
en-gb,en;q=0.9,en-us;q=0.8,de;q=0.6,ja;q=0.5,zh-tw;q=0.4,ko;q=0.3,is;q=0.1
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://svn.exampe.com/viewvc/svntest2/?comment_match=exact&querysort=date&who_match=exact&hours=2&date=all&limit_changes=100&file_match=exact&view=queryform 

Cookie: 
JServSessionIdrootsalorarg1=hi1xbevfp1.qQ5GpR9vq79yahDNmkLJqA5MnN4Iq65xngTDpBfzqATvp3CLbx0Ka0--; 
ICX_SESSION_ID=wfd-NPp8Ably7u_sTJ50-jCJ:S
If-Modified-Since: Wed, 10 Jun 2009 10:00:44 GMT
Authorization: Basic xxxxxxxxxxxxxxxx

HTTP/1.x 304 Not Modified
Date: Wed, 10 Jun 2009 14:11:33 GMT
Server: Apache/2.2.3 (CentOS)
Connection: close
Expires: Wed, 10 Jun 2009 14:12:35 GMT
Cache-Control: max-age=60


I'm rather confused as to why it would be returning "304 Not Modified" - 
the Subversion repository in question has definitely changed since 
10:00:44 GMT...

I can provided further information if you like - I'm not sure what else 
would be helpful so I won't add anything else.

John.

-- 
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2360940

To unsubscribe from this discussion, e-mail: [[email protected]].
smime.p7s (application/x-pkcs7-signature, 3.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.