Search squid archive

Re: Optimizing Squid for Bandwidth Savings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I've seen many posts and articles on optimizing Squid for saving
> bandwidth, but haven't really seen any clear and up-to-date examples
> on this topic.
[..]
> 'maximum savings'

Some lines were wrapped.

# no_cache deny QUERY
maximum_object_size 64 MB
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF

# this will devastste HTTP

refresh_pattern -i (cam|kam|live|stream).*\.(gif|jpeg|jpg)(\?.*|)$ 10 20% 28800 override-expire 
              override-lastmod reload-into-ims 
              ignore-no-cache ignore-private ignore-auth

refresh_pattern -i \.(gif|jpeg|jpg|swf|png|bmp|pic)$ 2880 20% 28800 override-expire 
             override-lastmod reload-into-ims 
             ignore-no-cache ignore-private ignore-auth

refresh_pattern -i \.(html|php|asp|dll|htm|aspx|mspx|shtml|cgi|php3|jse|phtml|po|pl|fcgi|jsp|py|php4)$ 10 20% 28800 override-expire 
             override-lastmod reload-into-ims 
             ignore-no-cache ignore-private

refresh_pattern -i \.(js|css|class|jar|xml|txt|cfm|doc|xls|pdf)$ 2880 20% 28800 override-expire 
            override-lastmod reload-into-ims 
            ignore-no-cache ignore-private ignore-auth

refresh_pattern -i \.(exe|gz|tar|tgz|zip|arj|ace|bin|cab|msi)(\?.*|)$ 10 20% 2880 override-expire 
           override-lastmod reload-into-ims 
           ignore-no-cache ignore-private ignore-auth

refresh_pattern -i \.(mid|mp[234]|wav|ram|rm|au)(\?.*|)$ 2880 20% 28800 override-expire 
          override-lastmod reload-into-ims 
          ignore-no-cache ignore-private ignore-auth

refresh_pattern -i \.(mpg|mpeg|avi|asf|wmv|wma)(\?.*|)$ 2880 20% 28800 
         override-expire  override-lastmod reload-into-ims 
         ignore-no-cache ignore-private ignore-auth

refresh_pattern . 0 20% 2880 
        override-expire override-lastmod reload-into-ims 
        ignore-no-cache ignore-private


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux