Irfan Akber wrote:
> Fre de Vries <[EMAIL PROTECTED]> wrote:
>>
>> I have squid2.1 patch2 on RH linux 5.2
>> Clients W95 ie4.0
>> When client A requests www.fake-url.com, i assume the complete downloaded
>> content, all html, gifs jpg etc are cached (if not bigger the max size set
>> in squid.conf)
>> Is that correct.....?
>> The reason for asking is, that if client B requests the same URL, the
>> browers connects to that site again, while i thought the idea behind
>> caching was that Client B could retrieve the content from the cache.
> 
> I dont think that I understand you fully. When a user requests
> www.fake-url.com the intial page is downloaded with all the jpgs and gifs
> in it, and there should be a hit when someone else requests it. If there is
> no hit then your cache is not doing what its suppose to.

Not true. You have to:

a) look at the HTTP headers of the returned object to see whether the web
site (www.fake-url.com) has allowed these objects to be cached. Some sites
don't allow _any_ of their objects to be cached, and by default squid
respects that.

b) check what your access.log says is actually happening to the suspect
URLs, and if the client requested them using an IMS or no-cache type request

If you still can't work out why its not being cached, send us a _small_
excerpt of the access.log to us that contains the uncached client requests.
And also tell us your refresh_pattern settings out of squid.conf.

NB don't change the URLs in access.log - so we can check what the web server
is returning too

Jifl
-- 
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK.  Tel: +44 (1223) 728762
"Women marry hoping their husbands will change, men||Home e-mail: jifl @ 
marry hoping their wives never do. Both are rare." ||     jifvik.demon.co.uk
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault

Reply via email to