Re: [squid-users] Squid behavour

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Fri, 9 Oct 2009 18:14:46 +0200

On 09.10.09 11:46, Miguel Cruz wrote:
> Ok, so for the other part of my question, how can I make squid cache
> ALL the files (about 200 .txt) that are in the web-server?
> Should I write a script to just try to wget them all and that way
> "populate" the cache completely?

wget can do that, it has even option for not storing files locally
especially for uses like this one.

> I've also noticed that when I query the cache it says it has more
> objects than the amount of requested objects (I have tried to wget 20
> files but the cache would say it has 34 objects in cache) is that
> normal?

its quite possible, object like directory index can be cached too.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Holmes, what kind of school did you study to be a detective?
- Elementary, Watson.  -- Daffy Duck & Porky Pig
Received on Fri Oct 09 2009 - 16:15:05 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 09 2009 - 12:00:02 MDT