Cache Dynamic Content
-
Ciao a tutti,
vorrei ottimizzare al meglio la cache per gli update dei pc, al momento ho inserito queste righe in Custom refresh_patterns :–----------
refresh_pattern ([^.]+.|)(download|adcdownload).(apple.|)com/..(pkg|dmg) 4320 100% 43200 reload-into-ims;
refresh_pattern ([^.]+.|)avg.com/..(bin) 4320 100% 43200 reload-into-ims;
refresh_pattern ([^.]+.|)spywareblaster.net/..(dtb) 4320 100% 64800 reload-into-ims;
refresh_pattern ([^.]+.|)symantecliveupdate.com/..(zip|exe) 43200 100% 43200 reload-into-ims
refresh_pattern ([^.]+.|)avast.com/.*.(vpu|vpaa) 4320 100% 43200 reload-into-imsAdd one of these lines for each of the websites you want to cache.
refresh_pattern -i microsoft.com/.*.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims
refresh_pattern -i windowsupdate.com/.*.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims
refresh_pattern -i windows.com/.*.(cab|exe|ms[i|u|f]|[ap]sf|wm[v|a]|dat|zip) 4320 80% 43200 reload-into-ims
DONT MODIFY THESE LINES
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|?) 0 0% 0
refresh_pattern . 0 20% 4320
–----------------------------Ho fatto bene ? Ne devo aggiungere altre ?
Inoltre volevo chiedere se è possibile/consigliabile fare la cache anche di altro.
Grazie a tutti
-
Purtroppo dai logs non sembra stia funzionando…
Sto installando 20 macchine nuove e non prende gli update dal firewall...
Ho impostato tutti i parametri come suggerisce il wiki...
-
Disattivando Squid guard, il servizio si avvia, ma comunque non sembra funzionare….
Ora ho inserito solo questa riga :
#WINDOWS
refresh_pattern ([^.]+.)?(download|(windows)?update).(microsoft.)?com/.*.(cab|exe|msi|msp|psf|esd) 4320 100% 43200 reload-into-ims;