- url_rewrite_program /usr/bin/python /usr/share/videocache/videocache.py
- url_rewrite_children 30
- acl videocache_allow_url url_regex -i \.youtube\.com\/videoplayback
- acl videocache_allow_url url_regex -i \.youtube\.com\/get_video\?
- acl videocache_allow_url url_regex -i \.googlevideo\.com\/videoplayback \.googlevideo\.com\/videoplay \.googlevideo\.com\/get_video\?
- acl videocache_allow_url url_regex -i \.google\.com\/videoplayback \.google\.com\/videoplay \.google\.com\/get_video\?
- acl videocache_allow_url url_regex -i \.google\.[a-z][a-z]\/videoplayback \.google\.[a-z][a-z]\/videoplay \.google\.[a-z][a-z]\/get_video\?
- acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplayback\?
- acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/videoplay\?
- acl videocache_allow_url url_regex -i (25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/get_video\?
- acl videocache_allow_url url_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/
- acl videocache_allow_url url_regex -i vid\.akm\.dailymotion\.com\/
- acl videocache_allow_url url_regex -i [a-z0-9][0-9a-z][0-9a-z]?[0-9a-z]?[0-9a-z]?\.xtube\.com\/(.*)flv
- acl videocache_allow_url url_regex -i bitcast\.vimeo\.com\/vimeo\/videos\/
- acl videocache_allow_url url_regex -i va\.wrzuta\.pl\/wa[0-9][0-9][0-9][0-9]?
- acl videocache_allow_url url_regex -i \.files\.youporn\.com\/(.*)\/flv\/
- acl videocache_allow_url url_regex -i \.msn\.com\.edgesuite\.net\/(.*)\.flv
- acl videocache_allow_url url_regex -i media[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/ mobile[a-z0-9]?[a-z0-9]?[a-z0-9]?\.tube8\.com\/
- acl videocache_allow_url url_regex -i \.mais\.uol\.com\.br\/(.*)\.flv
- acl videocache_allow_url url_regex -i \.video[a-z0-9]?[a-z0-9]?\.blip\.tv\/(.*)\.(flv|avi|mov|mp3|m4v|mp4|wmv|rm|ram)
- acl videocache_allow_url url_regex -i video\.break\.com\/(.*)\.(flv|mp4)
- acl videocache_allow_dom dstdomain .mccont.com dl.redtube.com .cdn.dailymotion.com
- acl videocache_deny_url url_regex -i http:\/\/[a-z][a-z]\.youtube\.com http:\/\/www\.youtube\.com
- url_rewrite_access deny videocache_deny_url
- url_rewrite_access allow videocache_allow_url
- url_rewrite_access allow videocache_allow_dom
- redirector_bypass on
- acl manager proto cache_object
- acl localhost src 127.0.0.1/32
- acl localhost src ::1/128
- acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
- acl to_localhost dst ::1/128
- acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
- acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
- acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
- acl localnet src fc00::/7 # RFC 4193 local private network range
- acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
- acl SSL_ports port 443
- acl Safe_ports port 80 # http
- acl Safe_ports port 21 # ftp
- acl Safe_ports port 443 # https
- acl Safe_ports port 70 # gopher
- acl Safe_ports port 210 # wais
- acl Safe_ports port 1025-65535 # unregistered ports
- acl Safe_ports port 280 # http-mgmt
- acl Safe_ports port 488 # gss-http
- acl Safe_ports port 591 # filemaker
- acl Safe_ports port 777 # multiling http
- acl CONNECT method CONNECT
- http_access allow manager localhost
- http_access deny manager
- http_access deny !Safe_ports
- http_access deny CONNECT !SSL_ports
- http_access allow localnet
- http_access allow localhost
- http_access deny all
- http_port 3128
- hierarchy_stoplist cgi-bin ?
- cache_mem 1024 MB
- maximum_object_size_in_memory 512 KB
- minimum_object_size 4 KB
- maximum_object_size 512 MB
- cache_dir diskd /var/spool/squid 50000 64 256
- coredump_dir /var/spool/squid
- offline_mode on
- refresh_pattern ^ftp: 1440 20% 10080
- refresh_pattern ^gopher: 1440 0% 1440
- refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
- refresh_pattern . 0 20% 4320
