Re: [squid-users] Squid not caching in accelerator mode

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 23 Nov 2006 03:42:17 +0100

ons 2006-11-22 klockan 16:21 -0800 skrev Mohan:
> I wrote a test servlet to fix the Session id and the Cache-control
> headers. The only header that my server is setting now is the max-age
> header , set to 3600. Even with this, squid doesnot seem to cache the
> reponse. Can you look at the log and help me troubleshoot ?
>
>
> 2006/11/22 16:19:47| init-ing hdr: 0x9dc44cc owner: 1
> 2006/11/22 16:19:47| parsing hdr: (0x9dc44cc)
> User-Agent: curl/7.10.6 (i386-redhat-linux-gnu) libcurl/7.10.6
> OpenSSL/0.9.7a ipv6 zlib/1.1.4
> Host: russia:3128
> Pragma: no-cache
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

Your client is sending a "Pragma: no-cache" instructing the proxy that
the request may not be served from cache..

You can override this in squid.conf if you want.

Regards
Henrik

Received on Wed Nov 22 2006 - 19:42:23 MST

This archive was generated by hypermail pre-2.1.9 : Fri Dec 01 2006 - 12:00:03 MST