Search squid archive

Re: cache_dir size v.s. available RAM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am not sure if I should start another thread with this - my apologies for
bumping it . . .

but in the last post I was looking to see if these 4 steps was a sensible
method of telling the proxy to only cache certain sites:


*
> STEP 1/4
*
> acl noproxy dstdomain .com .net .org  <==== etc, etc. 
*
> Would that work (would that be the way to 'wildcard' those domains)?
*
> 
> always_direct allow noproxy
> cache deny noproxy
*
> STEP 2/4:
*
> Then for Each site, in particular, I want cached (like the Windows update
> sites) create rules like this:
> 
> cache allow windowsupdate
> 
> NOTE: I chose 'windowsupdate' as that is what was used for the acl rules
> on the FAQ page here >> 
> http://wiki.squid-cache.org/SquidFaq/WindowsUpdate
> <http://wiki.squid-cache.org/SquidFaq/WindowsUpdate>  
> 
*
> STEP 3/4
*
> , Next I was thinking that I'd have to add is acl's  for
> acl windowsupdate dstdomain microsoft.com
> acl windowsupdate dstdomain windowsupdate.com
> acl windowsupdate dstdomain my.windowsupdate.website.com
> 
> . . . as I see that those domains are part of the refresh rules for the
> windows updates but not the acl's.
> To be on the safe side I thought that I'd add them to make sure anything
> that comes from there would be cached as per the
*
> cache allow windowsupdate
*
> rule.
> 
> I am still wondering why they WERE NOT included in the group of acl's
> listed on that page.
> Comments on that?
*
> STEP 4/4
*
> , Lastly, all I'd have to do is add an acl for sites that I want to be
> cached in addition to the windows updates like so:
> 
> acl windowsupdate dstdomain .mozilla.org
> acl windowsupdate dstdomain .adobe.com
> acl windowsupdate dstdomain .java.com
> acl windowsupdate dstdomain .nvidia.com
> etc, etc, etc,
> 
> . . . Would THIS set up not cache ONLY the sites that I list, and by doing
> so ensure that all the windows updates never get overwritten by the 'Daily
> caching' of stuff I don't care about?
> 
> Does that make sense? 

Thanks again for any suggestions.



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/cache-dir-size-v-s-available-RAM-tp4661705p4661868.html
Sent from the Squid - Users mailing list archive at Nabble.com.




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux