[PATCH] [RFC] squid.conf defaults

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 04 Sep 2008 01:16:55 +1200

Following the cleanup of squid.conf to minimal config here is a patch
which modifies the remaining defaults to make their explicit
configuration unnecessary.

Please check this.

A few config changes I think are harmless, but worth double-checking ...

        icp_port was made a 0 default (for safety?), but the port config line
left uncommented. fixed that.
        (most won't need it, those who do need to configure it anyway)

        icp_access lines to allow local network now commented out, background
default 'deny all' untouched.
        (ditto on above reason)

        miss_access default moved from explicit configured, to background
default. Implicit absent default was documented to be same as explicit
config default anyway.

        access_log config moved to a background default + documented. rather
than explicit config only.

        cache_store_log moved to default none + commented out. We've been
recommending that for a while now anyway.

        request_header_max_size boosted to 64KB from 20KB.
                HTTP/1.1 needs big headers. I think that should be okay?

        reply_header_max_size boosted to 64KB from 20KB.
                HTTP/1.1 needs big headers. I think that should be okay?

This one I think is good but want other opinions.
        cache_dir default to no disk cache.

Our old default was insufficient for many uses and I couldn't be
bothered investigating a good one.

        maximum_object_size_in_memory - boosted to 512KB.
         Update to at least 64KB was needed anyway to match modern web traffic.
Picked 512KB to maximize HIT with new default cache above.

Options remaining to consider for removal:
        hierarchy_stoplist
        coredump_dir

Plus all the default values probably need to be checked.

Amos

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE8

Received on Wed Sep 03 2008 - 13:16:59 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 03 2008 - 12:00:04 MDT