[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: squid cache



>>>>> "Thomas" == Thomas Zimmerman <thomas@zimres.net> writes:

    Thomas> On 12-Oct 04:35, Brian May wrote:
    >> >>>>> "Alex" == Alex Pennace <alex@pennace.org> writes:
    >> 
    Alex> Squid is doing its duty fine here. I use http downloads and
    Alex> I have http_proxy set. I also don't fudge around with
    Alex> refresh_pattern.
    >>
    Thomas> I think you need to up these two things in your
    Thomas> squid.conf: # TAG: maximum_object_size (bytes)

    Thomas> and

    Thomas> # cache_dir ufs Directory-Name Mbytes L1 L2 [options] # #
    Thomas> 'Mbytes' is the amount of disk space (MB) to use under
    Thomas> this # directory.  The default is 100 MB.  Change this to
    Thomas> suit your # configuration.  # # 'Level-1' is the number of
    Thomas> first-level subdirectories which # will be created under
    Thomas> the 'Directory'.  The default is 16.  # # 'Level-2' is the
    Thomas> number of second-level subdirectories which # will be
    Thomas> created under each first-level directory.  The default #
    Thomas> is 256.

Hmmm... I have:

maximum_object_size 16384 KB

and

cache_dir ufs /var/spool/squid 1000 16 256

and it wouldn't cache a file 600kb long.
-- 
Brian May <bam@debian.org>



Reply to: