Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=======================================================================#
- ## SQUID - Youtube Cache Super Squid Proxy
- ## BY PRAST
- ## THANKS TO MIKROTIK SQUID GROUP FACEBOOK
- ## Espescially : Mr. Ando Trlb Mr Zoiken Ameterasu and all my friend
- ##======================================================================#
- ## DATE : 9/7/2014 ...BISMILAHIRAHMANIRAHIM
- #=======================================================================#
- #=============================================
- # ADMINISTRATIVE PARAMETER
- #=============================================
- cache_mgr prast
- visible_hostname prast
- cache_mem 8 MB
- cache_swap_low 98
- cache_swap_high 99
- maximum_object_size 1024 MB
- maximum_object_size_in_memory 32 KB
- ipcache_size 16384
- ipcache_low 98
- ipcache_high 99
- memory_pools off
- reload_into_ims on
- vary_ignore_expire on
- max_filedescriptors 65536
- debug_options ALL,1 22,3
- #====================================
- # HDD CACHE
- #====================================
- cache_replacement_policy heap LFUDA
- memory_replacement_policy heap GDSF
- cache_dir aufs /cache 230000 540 256
- access_log /var/log/squid/access.log
- cache_log /var/log/squid/cache.log
- cache_store_log /var/log/squid/store.log
- #====================================
- # ACL OPTION
- #====================================
- acl all src
- acl SSL_ports port 443
- acl Safe_ports port 80
- acl Safe_ports port 21
- acl Safe_ports port 443
- acl Safe_ports port 70
- acl Safe_ports port 210
- acl Safe_ports port 1025-65535
- acl Safe_ports port 280
- acl Safe_ports port 488
- acl Safe_ports port 591
- acl Safe_ports port 777
- acl CONNECT method CONNECT
- #
- acl error url_regex -i ^http.*gemscool\.com.*hackshield.*
- cache deny error
- #acl link-bermasalah dst 203.89.146.67
- #cache deny link-bermasalah
- #ssl_bump none link-bermasalah
- always_direct allow all
- ssl_bump server-first all
- http_access deny !Safe_ports
- http_access deny CONNECT !SSL_ports
- http_access allow all
- http_reply_access allow all
- icp_access allow all
- https_port 3127 tproxy ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/squid/ssl_cert/myCA.pem
- http_port 3128
- http_port 3129 tproxy
- sslcrtd_program /usr/lib/squid/ssl_crtd -s /var/squid/ssl_db/certs/ -M 4MB
- sslcrtd_children 5
- sslproxy_cert_error allow all
- sslproxy_flags DONT_VERIFY_PEER
- acl reverbnation url_regex -i reverbnation.*(audio_player|ec_stream_song).*$
- acl reverbnation url_regex -i \.c\.(reverbnation|c2lo)\.com\/(get_audio|audioplayback|audioplay).*$
- acl youtube url_regex -i youtube.*(ptracking|stream_204|player_204|gen_204).*$
- acl youtube url_regex -i (youtube|google).*\/videoplayback\?.*
- acl dontrewrite url_regex redbot\.org
- acl getmethod method GET
- acl QUERY urlpath_regex -i (begin|start)\=
- acl QUERY urlpath_regex -i cgi-bin \? .php$ .asp$ .shtml$ .cfm$ .cfml$ .phtml$ .php3$ localhost
- acl dontrewrite url_regex -i c\.youtube\.com\/.*(begin|start)\=.*
- acl dontrewrite url_regex redbot\.org
- acl getmethod method GET
- acl redir urlpath_regex -i &redirect_counter=1&cms_redirect=yes
- acl redir urlpath_regex -i &ir=1&rr=12
- acl yutub url_regex -i youtube\.com\/(generate_204|ptracking|stream_204|player_204|s|(.*(playback|watchtime|delayplay)))\?.*$
- acl yutub url_regex -i gstatic\.com\/csi\?.*$
- acl rewritedoms url_regex -i dl\.sourceforge\.net.*
- acl rewritedoms url_regex -i i[0-9]*\.ytimg\.com.*
- acl rewritedoms url_regex -i ak\.fbcdn\.net.*
- acl rewritedoms url_regex -i (youtube|google).*\/videoplayback\?.*
- cache allow rewritedoms
- cache deny QUERY
- cache deny redir
- store_id_program /etc/squid/store-id.pl
- store_id_children 40 startup=10 idle=5 concurrency=0
- store_id_access deny !getmethod
- store_id_access deny redir
- store_id_access deny dontrewrite
- store_id_access allow rewritedoms
- store_id_access allow youtube
- store_id_access allow reverbnation
- store_id_access deny all
- strip_query_terms off
- #=============================================
- # DNS SERVER
- #=============================================
- dns_v4_first on
- dns_nameservers 8.8.8.8 8.8.4.4
- dns_nameservers 208.67.222.222 208.67.220.220
- max_stale 1 week
- refresh_pattern .*(begin|start)\=[1-9][0-9].* 0 0% 0
- refresh_pattern -i (cgi-bin|mrtg|graph) 0 0% 0
- refresh_pattern -i \.(php|lst|ui|ini|list)$ 0 0% 0
- refresh_pattern (update.ini|Update.ini|version.list|Version.list|update.1st|update.exe|autoup.exe) 0 0% 0
- refresh_pattern (hackshield|nprotect) 240 100% 420 override-expire override-lastmod reload-into-ims
- #refresh_pattern \.gemscool.com.*\.(exe|dll|cab|zip|iop|npz|swf)$ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- #refresh_pattern \.crossfire.web.id.*\.(cab|zip|exe|rar|dat|swf)$ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- #refresh_pattern \.cabalonline.co.id.*\.(cab|zip|exe|rar|dat|swf) 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- #refresh_pattern \.megaxus.com.*\.(cab|zip|exe|rar|dat|swf) 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- #refresh_pattern \.lytogame.com.*\.(cab|zip|exe|rar|dat|swf) 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- #refresh_pattern ((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2}).*\.(pak|exe|zip|kom|stg|npz|swf)$ 1440 100% 4320 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- #PATTERN REFRESH YOU TUBE
- refresh_pattern -i ^http\://video\-srv\.youtube\/.* 10080 100% 43200 override-expire override-lastmod ignore-no-cache ignore-private reload-into-ims ignore-must-revalidate ignore-reload store-stale
- #PATTERN REFRESH
- refresh_pattern -i \.(html|htm|css|js|png|jsp|asx|asp|aspx)$ 240 100% 420
- refresh_pattern -i \/speedtest\/.*\.(txt|jpg|png|swf) 0 99% 14400 override-expire ignore-reload ignore-private ignore-reload override-lastmod reload-into-ims
- refresh_pattern .pixieimage\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3)) 1440 99% 14400 override-expire ignore-reload ignore-private ignore-reload override-lastmod reload-into-ims
- refresh_pattern .blogspot\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3)) 1440 99% 14400 override-expire ignore-reload ignore-private ignore-reload override-lastmod reload-into-ims
- refresh_pattern .multiply\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3)) 1440 99% 14400 override-expire ignore-reload ignore-private ignore-reload override-lastmod reload-into-ims
- refresh_pattern .((pikawarnet\.com)|(blogspot\.com)|(pixieimage\.com)|(multiply\.com)).* 60 30% 240
- #sensitive site
- refresh_pattern -i \.(sc-|dl-|ex-|mh-|dll|da-) 0 2% 50 reload-into-ims
- refresh_pattern -i \.(mst|Xtp|iop)$ 0 50% 1440 reload-into-ims
- refresh_pattern -i (index.php|autoup.exe|main.exe|xtrap.xt|autoupgrade.exe|update.exe|grandchase.exe|FSLauncher.exe|FreeStyle_Setup.exe|grandchase.exe|filelist.zip)$ 0 50% 1440
- #refresh_pattern -i (UpdaterModifier.exe|FreeStyle.exe|PBLauncher.exe|update.exe|NewLauncher.exe|NewAvalon.exe|hon.exe.zip|cabal.exe)$ 0 50% 1440
- #refresh_pattern -i (PointBlank.exe.zip|HSUpdate.exe.zip|PBConfig.exe.zip) 0 50% 1440
- refresh_pattern -i (wks_avira-win32-en-pecl.info.gz|wks_avira10-win32-en-pecl.info.gz|servers.def.vpx)$ 0 50% 1440
- refresh_pattern -i (setup.exe.gz|avscan.exe.gz|avguard.exe.gz|filelist.zip|AvaClient.exe) 0 50% 1440
- refresh_pattern -i (livescore.com|goal.com|bobet) 0 50% 60
- refresh_pattern ^http.*(youtube|googlevideo)\.* 43200 99% 242020 ignore-reload override-expire override-lastmod ignore-must-revalidate ignore-private ignore-no-store ignore-auth store-stale
- #FB
- refresh_pattern \.facebook\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3)) 1440 99% 14400 override-expire ignore-reload ignore-private
- refresh_pattern \.facebook\.com.* 240 50% 480
- refresh_pattern \.fbcdn\.net.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3)) 1440 99% 14400 override-expire ignore-reload ignore-private store-stale
- refresh_pattern \.gstatic\.com/images\? 1440 99% 14400 override-expire override-lastmod ignore-reload ignore-private ignore-must-revalidate
- refresh_pattern \.(akamaihd|edgecastcdn|spilcdn|zgncdn|(tw|y|yt)img)\.com.*\.(jp(e?g|e|2)|gif|png|swf|mp(3|4)) 1440 99% 14400 override-expire override-lastmod ignore-reload ignore-private
- refresh_pattern (gstatic|diggstatic)\.com/.* 1440 99% 14400 override-expire ignore-reload ignore-private
- refresh_pattern (photobucket|pbsrc|flickr|yimg|ytimg|twimg|gravatar)\.com.*\.(jp(e?g|e|2)|gif|png|tiff?|bmp|swf|mp(4|3)) 1440 99% 14400 override-expire ignore-reload ignore-private
- refresh_pattern (zynga|ninjasaga|mafiawars|cityville|farmville|crowdstar|spilcdn|agame|popcap)\.com/.* 1440 99% 14400 override-expire ignore-reload ignore-private
- refresh_pattern ^http:\/\/images|image|img|pics|openx|thumbs[0-9]\. 1440 99% 14400 override-expire ignore-reload ignore-private
- refresh_pattern ^.*safebrowsing.*google 1440 99% 14400 override-expire ignore-reload ignore-private ignore-auth ignore-must-revalidate
- refresh_pattern ^http://.*\.squid\.internal\/.* 10080 100% 79900 override-expire override-lastmod ignore-reload ignore-no-store ignore-must-revalidate ignore-private ignore-auth max-stale=10000 store-stale
- refresh_pattern -i reverbnation.com 1440 99% 14400 override-expire override-lastmod ignore-no-cache ignore-private ignore-must-revalidate ignore-reload store-stale
- #refresh_pattern (get_video\?|videoplayback\?|videodownload\?|\.flv\?|\.fid\?) 43200 99% 43200 override-expire ignore-reload ignore-must-revalidate ignore-private
- # Game Online Update
- refresh_pattern ^http://file\.pb\.gemscool\.com/gamepatch/.*\.(exe|dll|cab|zip) 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- refresh_pattern ^http://file\.fs\.gemscool\.com/JCE/.*\.(exe|dll|cab|zip) 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- refresh_pattern ^http://file\.atlantica\.gemscool\.com/.*\.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- refresh_pattern ^http://122\.102\.49\.132/.*\.(zip|exe) 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth ignore-no-store store-stale
- refresh_pattern ^http://122\.102\.49\.202/.*\.(kom|zip|exe|stg) 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth ignore-no-store store-stale
- refresh_pattern ^http://.*\.cabalonline\.co\.id/.*\.(cab|zip|exe|rar|dat) 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- refresh_pattern ^http://.*\.gemscool\.com/.*\.(cab|zip|exe|rar|dat) 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- refresh_pattern ^http://patch\.crossfire\.web\.id/.*\.(cab|zip|exe|rar|dat) 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale
- #ads
- refresh_pattern ^.*(streamate.doublepimp.com.*\.js\?|utm\.gif|ads\?|rmxads\.com|ad\.z5x\.net|bh\.contextweb\.com|bstats\.adbrite\.com|a1\.interclick\.com|ad\.trafficmp\.com|ads\.cubics\.com|ad\.xtendmedia\.com|\.googlesyndication\.com|advertising\.com|yieldmanager|game-advertising\.com|pixel\.quantserve\.com|adperium\.com|doubleclick\.net|adserving\.cpxinteractive\.com|syndication\.com|media.fastclick.net).* 1440 99% 14400 ignore-private override-expire ignore-reload ignore-auth max-stale=1440
- refresh_pattern \.(ico|video-stats) 1440 99% 14400 override-expire ignore-reload ignore-private ignore-auth override-lastmod ignore-must-revalidate
- refresh_pattern ^http://((cbk|mt|khm|mlt|tbn)[0-9]?)\.google\.co(m|\.uk|\.id) 1440 99% 14400 override-expire override-lastmod ignore-reload ignore-private ignore-auth ignore-must-revalidate
- refresh_pattern vid\.akm\.dailymotion\.com.*\.on2\? 1440 99% 14400 override-expire override-lastmod
- refresh_pattern galleries\.video(\?|sz) 1440 99% 14400 override-expire ignore-reload ignore-must-revalidate ignore-private
- refresh_pattern \.wikimapia\.org\/? 1440 99% 14400 override-expire override-lastmod ignore-reload ignore-private
- # Spesific Game URL
- refresh_pattern ^http://*.lytogame.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.megaxus.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.ayodance.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.gemscool.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.wavegame.net/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.playcircle.net/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.lineage2.co.id/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.roseonline.web.id/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.xshot.web.id/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.romonline.web.id/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.iahgames.co.id/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.vtconline.co.id/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.blackshotonline.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.speedsoft.co.id/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.ijji.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.mmosite.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- # Spesific URL
- refresh_pattern ^http://*.indowebster.com.*/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-reload ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.21cineplex.*/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-reload ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.kompas.*/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-no-cache store-stale ignore-must-revalidate
- refresh_pattern ^http://*.blogspot.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.wordpress.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims store-stale ignore-must-revalidate
- refresh_pattern ^http://*.photobucket.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.tinypic.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.imageshack.us/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.kaskus.*/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.detik.*/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.detiknews.*/*.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://video.liputan6.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://static.liputan6.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.friendster.com/.* 10080 80% 10080 override-expire override-lastmod ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.forummikrotik.com/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://*.linux.or.id/.* 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-auth store-stale ignore-must-revalidate
- refresh_pattern ^http://(.*?)/get_video\? 10080 80% 10080 override-expire ignore-private store-stale ignore-must-revalidate
- refresh_pattern ^http://(.*?)/videodownload\? 10080 80% 10080 override-expire ignore-private store-stale ignore-must-revalidate
- # Update Antivirus
- refresh_pattern guru.avg.com/.*\.(bin) 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern avast.com.*\.vpx 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern (avgate|avira).*\.(idx|gz)$ 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern kaspersky.*\.avc$ 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern kaspersky 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern liveupdate.symantecliveupdate.com.*\.zip 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern .update.nai.com/.*\.(gem|zip|mcs) 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern .symantec.com.*\(exe|zip) 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern mbamupdates.com.*\.ref 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern \/*.eset\.com\.*\(bin|php|ui|exe|mcs|gem|avc|nup)(\?|$) 1440 95% 40320 override-expire override-lastmod ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern \/*.eset\.com\.*\(bin|php|ui|exe|mcs|gem|avc|nup) 1440 95% 40320 override-expire override-lastmod ignore-no-store ignore-reload reload-into-ims store-stale
- # Update Windows
- refresh_pattern windowsupdate.com/.*\.(cab|exe) 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern update.microsoft.com/.*\.(cab|exe) 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- refresh_pattern download.microsoft.com/.*\.(cab|exe) 10080 80% 10080 ignore-no-store ignore-reload reload-into-ims store-stale
- # Download IIX
- refresh_pattern ^http:\/\/\.www[0-9][0-9]\.indowebster\.com\/(.*)(mp3|rar|zip|flv|wmv|3gp|mp(4|3)|exe|msi|zip) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale ignore-auth
- # Banner IIX
- refresh_pattern ^http:\/\/openx.*\.(jp(e?g|e|2)|gif|pn[pg]|swf|ico|css|tiff?) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern ^http:\/\/ads(1|2|3).kompas.com.*\/ 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern ^http:\/\/img.ads.kompas.com.*\/ 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern .kompasimages.com.*\.(jpg|gif|png|swf) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern ^http:\/\/openx.kompas.com.*\/ 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern kaskus.\us.*\.(jp(e?g|e|2)|gif|png|swf) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern ^http:\/\/img.kaskus.us.*\.(jpg|gif|png|swf) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern ^http:\/\/img.gemscool.com.*\.(jpg|gif|png|swf) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern ^http:\/\/img.pb.gemscool.com.*\.(jpg|gif|png|swf) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern ^http:\/\/img.atlantica.gemscool.com.*\.(jpg|gif|png|swf) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern ^http:\/\/img.fs.gemscool.com.*\.(jpg|gif|png|swf) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- refresh_pattern ^http:\/\/img.vivanews.com.*\.(jpg|gif|png|swf) 10080 80% 10080 reload-into-ims ignore-reload override-expire ignore-no-store store-stale
- #general
- refresh_pattern -i \.(7z|arj|bin|bz2|cab|dll|exe|gz|inc|iso|jar|lha|ms(i|p|u)|rar|rpm|tar|tgz|zip|rtp|rpz|nui|kom|stg|pak|sup|nzp|npz|iop)$ 1440 99% 14400 override-expire override-lastmod ignore-private reload-into-ims ignore-must-revalidate ignore-reload store-stale
- refresh_pattern -i \.(class|doc|docx|pdf|pps|ppt|ppsx|pptx|ps|rtx|txt|wpl|xls|xlsx)$ 1440 99% 14400 override-expire override-lastmod ignore-private reload-into-ims ignore-must-revalidate ignore-reload store-stale
- refresh_pattern -i \.(3gp|ac4|agx|au|avi|axd|bmp|cbr|cbt|cbz|dat|divx|flv|gif|hqx|ico|jp(2|e|eg|g)|mid|mk(a|v)|mov|mp(1|2|3|4|e|eg|g)|og(a|g|v)|qt|ra|ram|rm|swf|tif|tiff|wa(v|x)|wm(a|v|x)|x-flv)$ 1440 99% 14400 override-expire override-lastmod ignore-private reload-into-ims ignore-must-revalidate ignore-reload store-stale
- refresh_pattern -i .(html|htm|css|js)$ 1440 75% 40320
- refresh_pattern -i .index.(html|htm)$ 0 75% 10080
- refresh_pattern ^ftp: 1440 20% 10080
- refresh_pattern ^gopher: 1440 0% 1440
- refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
- refresh_pattern . 60 50% 14400 store-stale
- memory_pools off
- client_db off
- #reload_into_ims on
- pipeline_prefetch on
- offline_mode off
- cache_effective_user proxy
- cache_effective_group proxy
- request_header_access From deny all
- request_header_access Server deny all
- request_header_access WWW-Authenticate deny all
- request_header_access Link deny all
- request_header_access Cache-Control deny all
- request_header_access Proxy-Connection deny all
- request_header_access X-Cache deny all
- request_header_access X-Cache-Lookup deny all
- request_header_access Via deny all
- request_header_access Forwarded-For deny all
- request_header_access X-Forwarded-For deny all
- request_header_access Pragma deny all
- request_header_access Keep-Alive deny all
- vary_ignore_expire on
- # local
- qos_flows local-hit=0x30
- # sibling
- # qos_flows sibling-hit=0x31
- # parent
- # qos_flows parent-hit=0x32
- # preserve
- # qos_flows disable-preserve-miss
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement