pfsense:squid:refresh_patterns:squid_refresh_patterns_-_catch-all
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
pfsense:squid:refresh_patterns:squid_refresh_patterns_-_catch-all [2020/03/15 11:36] – created peter | pfsense:squid:refresh_patterns:squid_refresh_patterns_-_catch-all [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PFSense - Squid - Refresh Patterns - Squid Refresh Patterns - Catch-All ====== | ====== PFSense - Squid - Refresh Patterns - Squid Refresh Patterns - Catch-All ====== | ||
+ | |||
+ | <WRAP important> | ||
+ | **IMPORTANT: | ||
+ | |||
+ | Squid processes rules from top to bottom, so place any other rules above these ones to prevent these catching specific patterns that should be better processed. | ||
+ | </ | ||
+ | |||
+ | ===== Squid Refresh Patterns - Catch-All ===== | ||
+ | |||
+ | This should be at the end. | ||
+ | |||
+ | < | ||
+ | # All Files. | ||
+ | refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt) 10080 80% 10080 override-expire override-lastmod reload-into-ims | ||
+ | refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar|iop|nzp|pak|mar|msp) 10080 80% 10080 override-expire override-lastmod reload-into-ims ignore-reload | ||
+ | refresh_pattern -i \.(jp(e? | ||
+ | refresh_pattern -i \.(avi|ac4|mp(e? | ||
+ | refresh_pattern -i \.(pp(t? | ||
+ | refresh_pattern . 0 20% 4320 | ||
+ | </ | ||
+ | |||
+ | |||
pfsense/squid/refresh_patterns/squid_refresh_patterns_-_catch-all.1584272217.txt.gz · Last modified: 2020/07/15 09:30 (external edit)