yes, it is default to cluster mode. and only the cache.config rules can specify 
the urls to cache in local.



在 2013-9-6,上午6:27,Scott Harris <[email protected]> 写道:

> no problem i will submit a feature request now.
> 
> Just a question on how its currently implemented,  I have set 
> proxy.config.http.cache.cluster_cache_local=1 but not added any entry to 
> cache.config with the cluster-cache-local directive,  should all my requests 
> default to cache local mode?  This seems backwards to me,  I would assume the 
> default is work in normal cluster mode and only cache local for any matching 
> rules in cache.config.  Since I have no rules for cache local then all my 
> requests should just work in cluster mode.
> 
> 
> On Thu, Sep 5, 2013 at 11:32 PM, Yongming Zhao <[email protected]> wrote:
> hmm, I am sorry to tell you that we don't have what your want now. the 
> current  proxy.config.http.cache.cluster_cache_local is a directive to enable 
> the cluster-cache-local directive. the  you can set for example:
> dest_host=127.0.0.1 scheme=http action=cluster-cache-local
> in cache.config
> 
> you will get a system with mostly a cluster cache, and some of the content 
> controlled in cache.config to be round robin. we think if someone want a 
> cluster env, he will put mostly of the content cached in the cluster wide.
> 
> the feature you need is really nice if we can implement it. please file a 
> jira new feature request for that.
> 
> thanks
> 
> 
> 在 2013-9-5,上午10:12,Scott Harris <[email protected]> 写道:
> 
>> Can someone explain the purpose of the new feature and option : 
>> proxy.config.http.cache.cluster_cache_local
>> 
>>  
>> I was hoping this allowed me to run in cluster mode and if I made a request 
>> to a member that does not have it stored locally (but was stored on another 
>> member) it would retrieve it from another member and then cache locally.  
>> Subsequent requests could then be served from cache from 2 cache members.
>> 
>>  
>> From testing if an object is stored on a member in the cluster and you hit a 
>> member that does not have it stored it retrieves from the origin server.
>> 
>>  
>> I may be missing something but what is the point of running in full cluster 
>> mode with proxy.config.http.cache.cluster_cache_local set to 1?
>> 
> 
> 

Reply via email to