Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-13 Thread Nick Hill
Dear Amos Thank you for reviewing the config and giving your deeply considered comments. On 13 April 2014 09:56, Amos Jeffries wrote: > Did your tests find any actual benefits in these "override-lastmod > override-expire ignore-reload ignore-must-revalidate ignore-private" > settings ? > > My te

Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-13 Thread Amos Jeffries
On 13/04/2014 7:08 a.m., Nick Hill wrote: > I have been ironing out issues with my windows updates set-up for > Squid. I have been through my squid.conf file to de-cruft it. > > The following squid.conf should be self-documenting. I have found this > works well in a multi-computer environment wher

Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-12 Thread Nick Hill
I have been ironing out issues with my windows updates set-up for Squid. I have been through my squid.conf file to de-cruft it. The following squid.conf should be self-documenting. I have found this works well in a multi-computer environment where you can expect a lot of Windows machines to perfor

Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-11 Thread Nick Hill
Hi Ellezer I have re-compiled squid 4.3 along with the storeid_file_rewrite. (Maybe largefile should be a default config directive!) I added the following to squid.conf store_id_program /usr/local/squid/libexec/storeid_file_rewrite /etc/squid3/storeid_rewrite store_id_children 40 startup=10 idle=

Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-11 Thread Eliezer Croitoru
On 04/11/2014 08:37 AM, Nick Hill wrote: rmed a SGA1 checksum on the downloaded file. The checksum was 6fda48f8c83be2a15f49b83b10fc3dc8c1d15774 The file was downloaded using wget, with the tokens. This matches the part of the file name between the underscore and period. The only thing we need f

Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-11 Thread Nick Hill
Dear Ellezer Thank you for this. it appears the way forward would be to check that the URL matches a pattern, and if it does, compute the store_id from the checksum embedded in the URL. The same pattern might be used across a large range of windows update objects, thereby avoiding cache misses eve

Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-11 Thread Stephen Borrill
On 10/04/2014 20:07, Eliezer Croitoru wrote: > Hey Nick, > > In a case you do know the tokens meaning and if it is working properly > you can try to use StoreID in 3.4.X > http://wiki.squid-cache.org/Features/StoreID > > It is designed to allow you this specific issue you are sure it is. > > Abo

Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-10 Thread Nick Hill
On 11 April 2014 05:15, babajaga wrote: > I very doubt " to be the same ..." . Because this would not make sense. > youtube does something similar for their videos, and there the tokens > contain add info like resolution of the movie, as it is distributed in > different ones. Depending upon a

Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-10 Thread Amos Jeffries
On 11/04/2014 12:28 a.m., Nick Hill wrote: > I found the discussion on the web post. On Nabble, which I presume > will not feed back to this list. I located the discussion forum from > the web site, have subscribed, and hope the message will be useful. A > web interface to this mailing list could b

[squid-users] Re: Cache Windows Updates ONLY

2014-04-10 Thread babajaga
>The server won't deliver the file unless the tokens are in place. Whenever a file is fetched, it appears to be the same irrespective of the tokens. I will carry out more research based on checksums of multiple files to make sure. < I very doubt " to be the same ..." . Because this would not ma

[squid-users] Re: Cache Windows Updates ONLY

2014-04-10 Thread babajaga
>Should I change the cache allow mywindowsupdates always_direct allow all ... to cache allow mywindowsupdates cache deny all < To ONLY cache the windows updates, cache allow mywindowsupdates cache deny all would be correct. # #always_direct allow all #This is NOT related to caching.

Re: [squid-users] Re: Cache Windows Updates ONLY

2014-04-10 Thread Eliezer Croitoru
Hey Nick, In a case you do know the tokens meaning and if it is working properly you can try to use StoreID in 3.4.X http://wiki.squid-cache.org/Features/StoreID It is designed to allow you this specific issue you are sure it is. About the 4GB or 1GB updates it's pretty simple. Microsoft rele

[squid-users] Re: Cache Windows Updates ONLY

2014-04-10 Thread Nick Hill
I notice Microsoft update for windows 8 is adding query strings to URLs as a token. This makes it hard for open source caches to work effectively with Microsoft Windows 8 updates. Maybe this is a method to force users to use Microsoft's proprietary windows update caching software. The recent KB2919

[squid-users] Re: Cache Windows Updates ONLY

2014-04-10 Thread Nick Hill
I found the discussion on the web post. On Nabble, which I presume will not feed back to this list. I located the discussion forum from the web site, have subscribed, and hope the message will be useful. A web interface to this mailing list could be very useful to capture important information from

[squid-users] Re: Cache Windows Updates ONLY

2013-08-20 Thread HillTopsGM
Amos Jeffries-2 wrote > On 20/08/2013 4:31 a.m., HillTopsGM wrote: >> Hi All. >> I've been doing lots of reading and I believe I am understanding the >> basic >> concept of how to use Squid. >> /I've posted the hardware that I am using at the bottom of the post/. >> >> I have about 12 windows machi