Saturday, May 2, 2009

Squid Tips

TESTED ON:Centos 5 - SQUID 2.6

Here are some very basic squid tips

1)Improve the Maximum Cache Size (By default the cache is rather small.Improve this to match the specifications of your hardware/partitions

cache_dir ufs /var/squid/cache 20000 16 256

2)Improve the Maximum Object File Size (The standard is 4M . My coworkers regularly access large photos online bigger than this size)

maximum_object_size 12288 KB

3)Maximize RAM Cached Files

cache_mem 64 MB

No comments:

Post a Comment

Followers