[squid-users] refresh_pattern for windowsupdate

From: <lokesh.khanna@dont-contact.us>
Date: Tue, 23 Aug 2005 07:24:00 +0100

Hi

I am using squid 2.5-10 stable as transparent cache.
I have just started using refresh_pattern value to save more Bandwidth.
I noticed my users are doing lot of windows update and antivirus update.
My cache_mem value was 8 mb earlier which I increased to 32mb today.
I made below configuration

refresh_pattern -i exe$ 0 50% 999999
refresh_pattern -i zip$ 0 50% 999999
refresh_pattern -i tar\.gz$ 0 50% 999999
refresh_pattern -i tgz$ 0 50% 999999
refresh_pattern http://.*\.windowsupdate\.microsoft\.com/ 0 80% 20160
reload-into-ims
refresh_pattern http://office\.microsoft\.com/ 0 80% 20160
reload-into-ims
refresh_pattern http://windowsupdate\.microsoft\.com/ 0 80% 20160
reload-into-ims
refresh_pattern http://w?xpsp[0-9]\.microsoft\.com/ 0 80% 20160
reload-into-ims
refresh_pattern http://w2ksp[0-9]\.microsoft\.com/ 0 80% 20160
reload-into-ims
refresh_pattern http://download\.microsoft\.com/ 0 80% 20160
reload-into-ims
refresh_pattern http://download\.macromedia\.com/ 0 80% 20160
reload-into-ims
refresh_pattern ftp://ftp\.nai\.com/ 0 80% 20160
reload-into-ims
refresh_pattern http://ftp\.software\.ibm\.com/ 0 80% 20160
reload-into-ims
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

Below is my access.log . I am still getting TCP_MISS

1124761891.740 273 10.18.1.227 TCP_MISS/206 15555 GET
http://au.download.wind
owsupdate.com/msdownload/update/v5/psf/windowsxp-sp2-x86fre-usa-2180_056
b2b38baf
5620be85ddd58141b073bc0b06a1d.psf - DIRECT/64.4.20.62
application/octet-stream
1124761892.107 19 10.18.13.98 TCP_IMS_HIT/304 206 GET
http://windowsmedia.co
m/Mediabar/static/mediabar.css - NONE/- text/css
1124761892.152 266 10.18.25.70 TCP_MISS/206 9682 GET
http://au.download.windo
wsupdate.com/msdownload/update/v3-19990518/cabpool/outlfltr_01bcc7d2d28a
d160ed23
c0a43be5db1d2bda227b.cab - DIRECT/64.4.20.62 application/octet-stream
1124761892.877 30 10.18.13.98 TCP_IMS_HIT/304 222 GET
http://windowsmedia.co
m/mediabar/Static/Common.js - NONE/- application/x-javascript
1124761893.634 263 10.18.1.227 TCP_MISS/206 15561 GET
http://au.download.wind
owsupdate.com/msdownload/update/v5/psf/windowsxp-sp2-x86fre-usa-2180_056
b2b38baf
5620be85ddd58141b073bc0b06a1d.psf - DIRECT/64.4.20.62
application/octet-stream

Is there any configuration problem??

Thanks - LK
Disclaimer
****************************************************************************************************************************
The information contained in this e-mail, any attached files, and response threads are confidential and
may be legally privileged. It is intended solely for the use of individual(s) or entity to which it is addressed
and others authorised to receive it. If you are not the intended recipient, kindly notify the sender by return
mail and delete this message and any attachment(s) immediately.
 
Save as expressly permitted by the author, any disclosure, copying, distribution or taking action in reliance
on the contents of the information contained in this e-mail is strictly prohibited and may be unlawful.
 
Unless otherwise clearly stated, and related to the official business of Accelon Nigeria Limited, opinions,
conclusions, and views expressed in this message are solely personal to the author.
 
Accelon Nigeria Limited accepts no liability whatsoever for any loss, be it direct, indirect or consequential,
arising from information made available in this e-mail and actions resulting there from.
 
For more information about Accelon Nigeria Limited, please see our website at
http://www.accelonafrica.com
******************************************************************************************************************************
Received on Tue Aug 23 2005 - 00:22:53 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:02 MDT