Update Squid
25/12/2008
เพื่อทำให้ Squid เก็บแพทซ์เกมส์ให้ได้มากกว่าเดิม แก้ไขตรง refresh_pattern ดังนี้ครับ
refresh_pattern -i \.(html|htm|/)$ 240 20% 1440
refresh_pattern -i \.(asp\?|aspx\?|php\?) 0 20% 1440
refresh_pattern -i \.(asp|aspx|php)$ 240 20% 1440
refresh_pattern -i \.(jpg|gif|jpeg|png|css|js|bmp|tif|tiff|xbm|png|swf)$ 240 100% 14400
refresh_pattern -i \.(raw|delta|exe|zip|gz|arj|lha|lzh|rar|tgz|tar|Z)$ 4320 80% 43200 override-lastmod reload-into-ims
refresh_pattern -i \.(class|pdf|rtf|doc|wp|wp5|cab|kf|pkg|gz|dat|ps|delta|raw|z|div|db|fsh|pak|prn)$ 7200 80% 14400 override-lastmod override-expire reload-into-ims
refresh_pattern -i \.(mov|avi|mpg|wav|au|mid|mp3)$ 1440 100% 14400 override-lastmod override-expire reload-into-ims
refresh_pattern ^http://patch.sf.* 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://update.cabal.* 4320 100% 43200 ignore-reload override-lastmod reload-into-ims
refresh_pattern ^http://download.cabal.* 4320 100%...