from : http://wiki.squid-cache.org/ConfigExamples/DynamicContent
vi /etc/squid/squid.conf
change :
acl QUERY urlpath_regex cgi-bin \?to :
cache deny QUERY
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0------
refresh_pattern . 0 20% 4320
Change :
maximum_object_size 4096 KBto
maximum_object_size 40960 KB------
Change :
cache_dir ufs /var/spool/squid 100 16 256to (2 gigabyte with multithreaded access)
cache_dir aufs /var/spool/squid 2000 16 256
No comments:
Post a Comment