Re: [RFC] Automating "private cache" mode in Squid

2013-08-15 Thread Eliezer Croitoru
On 08/14/2013 04:23 PM, Alex Rousskov wrote: > IIRC, there is %>lp but no %>lp_name macro yet. We should add it. > > > The same changes should apply to the url_rewrite_program helper. +1 for this specific idea. Eliezer > > > HTH, > > Alex.

Re: [RFC] Automating "private cache" mode in Squid

2013-08-14 Thread Alex Rousskov
On 08/14/2013 01:54 AM, Henrik Nordström wrote: > tis 2013-08-13 klockan 16:01 -0600 skrev Alex Rousskov: >> >>> the urltag approach used in squid-2 could be used here as general >>> mechanism. It allows http_port or external_acl to add a piece to the >>> object key. >>> >>> This allows splitting

Re: [RFC] Automating "private cache" mode in Squid

2013-08-14 Thread Henrik Nordström
tis 2013-08-13 klockan 16:01 -0600 skrev Alex Rousskov: > > > the urltag approach used in squid-2 could be used here as general > > mechanism. It allows http_port or external_acl to add a piece to the > > object key. > > > > This allows splitting cache based on > > - port received on > > - usern

Re: [RFC] Automating "private cache" mode in Squid

2013-08-13 Thread Alex Rousskov
On 08/07/2013 01:23 AM, Henrik Nordström wrote: > ons 2013-08-07 klockan 16:51 +1200 skrev Amos Jeffries: > >> My previous thoughts around this have all revolved around the idea of >> adding the clients IP address to the cache key when private proxy mode >> is enabled. This has a major issue tho

Re: [RFC] Automating "private cache" mode in Squid

2013-08-07 Thread Henrik Nordström
ons 2013-08-07 klockan 16:51 +1200 skrev Amos Jeffries: > My previous thoughts around this have all revolved around the idea of > adding the clients IP address to the cache key when private proxy mode > is enabled. This has a major issue though in that it does not solve > anything for users wit

[RFC] Automating "private cache" mode in Squid

2013-08-06 Thread Amos Jeffries
As the subject says I am looking at what is necessary to implement a "private cache" mode for Squid. Goal: removing ignore-private option from refresh_pattern. It is completely unsafe in shared-cache traffic and real private caches should not need to specify it on every refresh_pattern line.