Hi,
in the past we talked about caching Kaspersky updates:
I tried this:
refresh_pattern -i .*kaspersky\.com/.*\.(.*) 1440 100% 1440 reload-into-ims override-expire override-lastmode;
refresh_pattern -i .*kaspersky-labs\.com/.*\.(.*) 1440 100% 1440 reload-into-ims override-expire override-lastmode;
I think this is working just fine for the "Kaspersky Offline Updater Tool"
http://support.kaspersky.com/updater?level=2
Need more testing if it works with the "normal" updater function of the client software.
Perhaps someone else will find some time for this.
Further I found out, that if we use
range_offset_limit -1
squid is still downloading files even if the user has left a website or canceld some download.
To avoid this, I am using this:
quick_abort_min 0 KB;
quick_abort_max 0 KB;
quick_abort_pct 100;
For windows updates I am using this without any errors in syslog and with success:
refresh_pattern -i .*microsoft\.com/.*\.(cab|exe|msi|msp) 129600 100% 129600 reload-into-ims;
refresh_pattern -i .*windowsupdate\.com/.*\.(cab|exe|msi|msp) 129600 100% 129600 reload-into-ims;
To avoid, that a user is getting still a "Error 404" if a website wasn't available for a short time and then ist up again because of the high time for negative dns I am using this:
negative_ttl 5 second;
negative_dns_ttl 5 second;
I am using this all in squid "Custom options".
It would be really nice if someone else could test and verify this or post some other usefull squid options.
For me it was hard to find these parameters and so I wnat to share them and get some feedback.