Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-06 Thread Igor Novgorodov
Well, english is not my native language too, but that does not hurt much :) 1. Define an access list (text file with domains you wanna cache, one domain per line): acl domains_cache dstdomain "/etc/squid/lists/domains_cache.txt" 2. Define a parameter that will allow cache for these domains, wh

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-05 Thread Igor Novgorodov
Piece of cake: always_direct deny acl_not_direct always_direct allow all On 05.08.2014 23:19, nuhll wrote: Thanks, but its not possible to make a list of all possible websites which i could visit but i dont want to cache xD. Is there no way to direct ALL websites direct EXCEPT only some websit

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-04 Thread Igor Novgorodov
You should create an access list with sites that you don't want to cache like: always_direct allow acl_direct_sites always_direct allow all will make ALL requests to go directly bypassing cache. Also see cache_deny directive. On 04.08.2014 22:25, nuhll wrote: always_direct allow all and then

Re: [squid-users] Re: ONLY Cache certain Websites.

2014-08-04 Thread Igor Novgorodov
always_direct directive On 04.08.2014 22:15, nuhll wrote: Hello, you are right. I dont mean redirect like 301. I mean, squid should not touch the website or connection and just send it direct to the website, except some websites which i want to cache. How to archive this? -- View this messa

Re: [squid-users] Squid 3.4 very high cpu usage

2014-07-15 Thread Igor Novgorodov
delay_pools are not used at all (delay_access 1 deny all), i'll try to remove them completely, but as 3.3 works fine i doubt that'll help. On 15.07.2014 19:01, FredB wrote: Try without delay_pool or at least without CONNECT method and delay_pool Fred

[squid-users] Squid 3.4 very high cpu usage

2014-07-15 Thread Igor Novgorodov
I've seen a February thread about this problem, but it seems that it never reached a consensus. I've just tried to migrate from 3.3.12 to 3.4.6, but almost instantly got timeout problems and 100% cpu usage by squid process. I'm using kerberos auth and external_ldap_group helpers, ssl bump, con