no one explane this :((( pokeman wrote: > > hi there > Refrence to following atricle > http://www.nabble.com/Re%3A-YouTube-and-other-streaming-media-%28caching%29-p17738020.html > i am going to cached windowsupdate object here is changes in store script > in squid.conf and output log > > Squid.conf > acl store_rewrite_list url_regex ^http://(.*?)/windowsupdate\? > > refresh_pattern windowsupdate.com/.*\.(cab|exe|dll) 10080 90% 999999 > ignore-no-cache override-expire ignore-private > refresh_pattern download.microsoft.com/.*\.(cab|exe|dll) 10080 90% 999999 > ignore-no-cache override-expire ignore-private > refresh_pattern au.download.windowsupdate.com/.*\.(cab|exe|psf) 10080 90% > 999999 ignore-no-cache override-expire ignore-private > refresh_pattern ^http://sjl-v[0-9]+\.sjl\.youtube\.com 10080 90% 999999 > ignore-no-cache override-expire ignore-private > > #Store script > > #!/usr/bin/perl > $|=1; > while (<>) { > @X = split; > $url = $X[0]; > $url =~ > s@^http://(.*?)/get_video\?(.*)video_id=(.*?)&.*@squid://videos.youtube.INTERNAL/ID=$3@; > $url =~ > s@^http://(.*?)/get_video\?(.*)video_id=(.*?)$@squid://videos.youtube.INTERNAL/ID=$3@; > $url =~ > s@^http://(.*?)/videodownload\?(.*)docid=(.*?)$@squid://videos.google.INTERNAL/ID=$3@; > $url =~ > s@^http://(.*?)/videodownload\?(.*)docid=(.*?)&.*@squid://videos.google.INTERNAL/ID=$3@; > $url =~ > s@^http://(.*?)/update\?(.*)video_id=(.*?)&.*@squid://au.download.windowsupdate.com.INTERNAL/ID=$3@; > $url =~ > s@^http://(.*?)/update\?(.*)video_id=(.*?)$@squid://au.download.windowsupdate.com.INTERNAL/ID=$3@; > print "$url\n"; > } > > ### output cache log > 1213248096.431 606 192.168.0.5 TCP_MISS/206 15348 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/199.93.42.124 application/octet-stream > 1213248098.070 905 192.168.0.5 TCP_MISS/206 36487 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/199.93.42.124 multipart/byteranges > 1213248099.996 1535 192.168.0.5 TCP_MISS/206 40838 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/8.12.137.30 multipart/byteranges > 1213248101.372 1216 192.168.0.5 TCP_MISS/206 14687 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/209.84.7.123 application/octet-stream > 1213248101.749 202 192.168.0.5 TCP_MISS/200 375 HEAD > http://download.windowsupdate.com/v7/windowsupdate/redir/wuredir.cab?0806120622 > - DIRECT/79.140.80.33 application/octet-stream > 1213248102.091 606 192.168.0.5 TCP_MISS/206 12929 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/209.84.7.123 application/octet-stream > 1213248103.755 962 192.168.0.5 TCP_MISS/206 33762 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/209.84.7.123 multipart/byteranges > 1213248104.624 578 192.168.0.5 TCP_MISS/200 375 HEAD > http://www.update.microsoft.com/v7/windowsupdate/selfupdate/wuident.cab?0806120623 > - DIRECT/65.55.13.158 application/octet-stream > 1213248104.831 100 192.168.0.5 TCP_MISS/200 376 HEAD > http://download.windowsupdate.com/v7/windowsupdate/a/selfupdate/WSUS3/x86/Other/wsus3setup.cab?0806120623 > - DIRECT/79.140.80.33 application/octet-stream > 1213248105.266 431 192.168.0.5 TCP_MISS/200 25737 GET > http://download.windowsupdate.com/v7/windowsupdate/a/selfupdate/WSUS3/x86/Other/wsus3setup.cab?0806120623 > - DIRECT/79.140.80.33 application/octet-stream > 1213248105.638 1529 192.168.0.5 TCP_MISS/206 36542 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/199.93.42.124 application/octet-stream > 1213248106.175 409 192.168.0.5 TCP_MISS/206 13595 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/199.93.42.124 multipart/byteranges > 1213248106.595 102 192.168.0.5 TCP_MISS/200 375 HEAD > http://download.windowsupdate.com/v7/windowsupdate/redir/wuredir.cab?0806120623 > - DIRECT/79.140.80.33 application/octet-stream > 1213248108.882 1832 192.168.0.5 TCP_MISS/206 45373 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/8.12.137.30 application/octet-stream > 1213248109.603 608 192.168.0.5 TCP_MISS/206 16132 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/8.12.137.30 application/octet-stream > 1213248111.272 979 192.168.0.5 TCP_MISS/206 44097 GET > http://au.download.windowsupdate.com/msdownload/update/v5/psf/windowsxp-kb902400-x86-enu_a7c593892442e90b74d93abf0524a52f00998cea.psf > - DIRECT/8.12.137.30 multipart/byteranges > > -- View this message in context: http://www.nabble.com/cached-MS-updates-%21-tp17792708p17850107.html Sent from the Squid - Users mailing list archive at Nabble.com.