[squid-users] Why no cache revisited...

From: Anton Melser <melser.anton@dont-contact.us>
Date: Fri, 9 May 2008 18:49:28 +0200

Hi all,
Yet again I can't work out why things aren't getting cached... Can
someone see anything here? I have disabled the cgi no cache
exception... I thought the cookies wouldn't be cached if I just left
the other standard values... In reality, I would like to get rid of
the cookies altogether, but if squid could just ignore them and cache
anyway I'd be just as happy... The app chain is squid -> apache ->
mod_jk -> tomcat. Or maybe it's not that?
I just get ...TCP_MISS/200... in the access.log and alloweds for both
request and reply in access.log.
Any ideas?
Thanks

http://www.myserver.com:9090/blah/blah/?nav_cat=852

GET /blah/blah/?nav_cat=852 HTTP/1.1
Host: www.myserver.com:9090
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14
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: fr,en;q=0.8,en-us;q=0.6,fr-fr;q=0.4,zh-cn;q=0.2
Accept-Encoding: gzip,deflate
Accept-Charset: UTF-8,*
Keep-Alive: 300
Connection: keep-alive
Cookie: prtl_2330=2334;
__utma=78053651.1678847336.1200999476.1210344620.1210346080.27;
__utmb=78053651; prtl_2048=2052; __qca=1200999474-97652213-3709607;
__utmz=78053651.1200999476.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);
JSESSIONID=31988C5DA79D01D8239A321C02316AA5; __qcb=1689579535;
__utmc=78053651; ns_cookietest=true; ns_session=true

HTTP/1.x 200 OK
Date: Fri, 09 May 2008 16:39:39 GMT
Server: Apache/2.2.3 (CentOS)
Set-Cookie: prtl_2330=2334; Expires=Sat, 10-May-2008 02:39:39 GMT
Cache-Control: public
Content-Type: text/html;charset=UTF-8
X-Cache: MISS from www.myserver.com
X-Cache-Lookup: MISS from www.myserver.com:9090
Via: 1.0 www.myserver.com:9090 (squid/2.6.STABLE6)
Connection: close

-- 
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc
This will help you for 99.9% of your problems ...
Received on Fri May 09 2008 - 16:49:30 MDT

This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:03 MDT