Re: Bad default for proxy_cache_key

2014-07-29 Thread Maxim Dounin
Hello! On Tue, Jul 29, 2014 at 04:49:23PM -0300, Bráulio Bhavamitra wrote: > Hum, a documentation of this use case is recommended. Personally, for me it > is completely unknown and uncommon. > > Also, isn't caching entirely related to the URL the user used, and has > nothing to do with the backe

Re: Bad default for proxy_cache_key

2014-07-29 Thread Bráulio Bhavamitra
Hum, a documentation of this use case is recommended. Personally, for me it is completely unknown and uncommon. Also, isn't caching entirely related to the URL the user used, and has nothing to do with the backend host? On Mon, Jun 30, 2014 at 8:48 PM, Maxim Dounin wrote: > Hello! > > On Sun,

Re: Bad default for proxy_cache_key

2014-06-30 Thread Maxim Dounin
Hello! On Sun, Jun 29, 2014 at 06:15:56PM -0300, Bráulio Bhavamitra wrote: > Hello all, > > I stucked a while with a config problem where proxy_cache_key default value > was $scheme$proxy_host$uri$is_args$args". > > Then I realized it really didn't make. A better value > $scheme$host$uri$is_arg

Bad default for proxy_cache_key

2014-06-29 Thread Bráulio Bhavamitra
Hello all, I stucked a while with a config problem where proxy_cache_key default value was $scheme$proxy_host$uri$is_args$args". Then I realized it really didn't make. A better value $scheme$host$uri$is_args$args" is much more reasonable, as the reverse proxy requests comes from many server {} wi