]> git.ipfire.org Git - thirdparty/squid.git/commit
squid.conf cleanup: Modify several squid.conf defaults
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 20 Sep 2008 09:43:40 +0000 (21:43 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 20 Sep 2008 09:43:40 +0000 (21:43 +1200)
commitdf2eec108b8d6722e514f3f717ba29fb0650b81f
treedc66177c387bd2f1713848aaeb4dc22f9f598d57
parent9af2f95b4f2e5139c8824dbefcbd16f7b778435c
squid.conf cleanup: Modify several squid.conf defaults

Following the cleanup of squid.conf to minimal config modifies the
remaining defaults to make their explicit configuration unnecessary.

    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?

    cache_dir defaults to no disk cache, memory only cache.

    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.

    cache_mem boosted to 256 MB for caching at least 500 objects.

TODO Options remaining to consider for removal:
    hierarchy_stoplist
    coredump_dir

TODO all the default values probably still need to be checked.
src/cf.data.pre