-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 And, finally, trackers is relatively easy to block ;) Simple. Against caching and garbaging cache storage. With ufdbGuard, for example :) 02.09.15 0:00, Marcus Kool пишет: > > > On 09/01/2015 05:14 AM, FredB wrote: >> More precisely >> >> I reduced the ttl of the first line >> >> refresh_pattern -i \.(htm|html|xml|css)(\?.*)?$ 10080 100% 10080 >> #All File 30 days max >> refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)(\?.*)?$ 43200 100% 43200 ignore-no-store reload-into-ims store-stale >> refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)(\?.*)?$ 43200 100% 43200 ignore-no-store reload-into-ims store-stale >> refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|ico|swf|dat|ad|txt|dll)(\?.*)?$ 43200 100% 43200 ignore-no-store reload-into-ims store-stale >> refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)(\?.*)?$ 43200 100% 43200 ignore-no-store reload-into-ims store-stale >> refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)(\?.*)?$ 43200 100% 43200 ignore-no-store reload-into-ims store-stale > > trackers use a 1x1 gif extensively and they usually have parameters, e.g. www.example.com/track.gif?browser=chrome&allsortsofdata&random=RANDOMNUMBER > and these trackers are not cacheable since the parameters are never the same. > So for gif, I suggest to > > refresh_pattern -i \.gif$ 43200 100% 43200 ignore-no-store reload-into-ims store-stale > refresh_pattern -i \.gif\? 0 0% 0 > > Marcus > _______________________________________________ > squid-users mailing list > squid-users@xxxxxxxxxxxxxxxxxxxxx > http://lists.squid-cache.org/listinfo/squid-users -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJV5erKAAoJENNXIZxhPexGzrMIAIwTyZBxcjuagTN6+/ZWADOK c53mqTMom9767fN95lm+yM/ji4Cx+VXdsxBMaY6UePzMSIMNAtp72xY5H9GY9Rue PerGgveixx+8aSbCcWBVHA6lQAgP1xpT59huQL/bdVrT+6S5OmLj/cICkqyHUa0l gUi+KP534jIeRexoaPVe++M0GIrZCFy1b0UXyzXOUL4HPpkfQ/ptrnHXuxNO5rao RYu9xpPZAVs80KcFRVxfzpAjR6POj56me/5Jrsp4POTtHdJOjIBuMteHivz2Cx6v 2tHwlsAhlTSmFkfCghwlrQ8Exak1JeVjfQ2EkgKLpbqaLtSP5yAWkIlNkeCbNPg= =I15N -----END PGP SIGNATURE----- _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users