اصل config بدین صورت
کد:
hierarchy_stoplist cgi-bin ? .acgi .asp .cgi .css .chtml .dll .htm .html .ini .jhtml .js .jsp .perl .phtml .pl .php .php3 .php4 .shtml .xhtml .xml .xtp
acl QUERY urlpath_regex cgi-bin \? .acgi .asp .cgi .css .chtml .dll .htm .html .ini .jhtml .js .jsp .perl .phtml .pl .php .php3 .php4 .shtml .xhtml .xml .xtp
cache deny QUERY
acl exam url_regex ^http://(.*?)/get_video\?
acl exam url_regex ^http://(.*?)/videodownload\?
acl exam url_regex ^http://i(.*?).google.com/(.*?)/(.*?)/(.*?)\?
acl exam url_regex ^http://vid(.*?).google.com/(.*?)/(.*?)\?
cache allow exam
cache allow all
storeurl_access allow exam
storeurl_access deny all
#Youtube
refresh_pattern ^http://(.*?)/get_video\? 10080 90% 999999 override-expire ignore-no-cache ignore-private
refresh_pattern ^http://(.*?)/videodownload\? 10080 90% 999999 override-expire ignore-no-cache ignore-private
#Photo Bucket
refresh_pattern ^http://i(.*?).google.com/(.*?)/(.*?)/(.*?)\? 43200 90% 999999 override-expire ignore-no-cache ignore-private
refresh_pattern ^http://vid(.*?).google.com/(.*?)/(.*?)\? 43200 90% 999999 override-expire ignore-no-cache ignore-private