Re: [squid-users] http request not caching Please Help..!!!

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Tue, 5 Mar 2002 11:22:18 +1000 (EST)

Hi,

On Tue, 5 Mar 2002, SRILAKSHMANAN,LAKSHMAN (HP-Australia,ex3) wrote:

> Hi all,
>
> Why is squid not caching http request? I always get TCP_MISS..!!!

You only showed two log entries.

> My URL http://panther.aus.hp.com/soar.tar generates the following in the
> squid access.log
>
> 1015286365.529 1 15.73.168.201 TCP_MISS/401 743 GET
> http://panther.aus.hp.com/soar.tar - DIRECT/panther.aus.hp.com text/html
> 1015286377.137 5672 15.73.168.201 TCP_MISS/200 2171213 GET
> http://panther.aus.hp.com/soar.tar - DIRECT/panther.aus.hp.com
> application/x-tar

I suspect the first GET was not cached because it was denied by the web
server returning a "401". You can see the content length returned was 743
bytes - probably the authorization request. After that was the successful
GET which returned 2171213 bytes. Whether it was cached or not is not
vissible in this log. Look at store.log to see what happened with this
successful retrieval. What does the access log show on subsequent
retrievals?

Colin
Received on Mon Mar 04 2002 - 18:22:32 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:42 MST