Re: Simple question about proxy cache

2013-03-22 Thread John Moore
On 22/03/13 14:11, Maxim Dounin wrote: > This looks like valid regular expression (try pcretest if unsure), but > from maintainability point of view I would recommend to use multiple > normal prefix or exact match locations instead of trying to combine > them into a single regexp. Yes, you're

Re: Simple question about proxy cache

2013-03-22 Thread Maxim Dounin
Hello! On Fri, Mar 22, 2013 at 12:24:21PM +, John Moore wrote: > On 22/03/13 11:43, Maxim Dounin wrote: > > Hello! > > > > On Fri, Mar 22, 2013 at 11:18:50AM +, John Moore wrote: > > > > [...] > > > >> Actually, there is one final tweak I'd like. There are a number of > >> different locat

Re: Simple question about proxy cache

2013-03-22 Thread John Moore
On 22/03/13 11:43, Maxim Dounin wrote: > Hello! > > On Fri, Mar 22, 2013 at 11:18:50AM +, John Moore wrote: > > [...] > >> Actually, there is one final tweak I'd like. There are a number of >> different locations which I'd like to use the proxy cache for. I cannot >> repeat for each location th

Re: Simple question about proxy cache

2013-03-22 Thread Maxim Dounin
Hello! On Fri, Mar 22, 2013 at 11:18:50AM +, John Moore wrote: [...] > Actually, there is one final tweak I'd like. There are a number of > different locations which I'd like to use the proxy cache for. I cannot > repeat for each location the block where the cache log is defined (it > rig

Re: Simple question about proxy cache

2013-03-22 Thread John Moore
On 22/03/13 11:18, John Moore wrote: > > Actually, there is one final tweak I'd like. There are a number of > different locations which I'd like to use the proxy cache for. I cannot > repeat for each location the block where the cache log is defined (it > rightly complains about duplication). So I

Re: Simple question about proxy cache

2013-03-22 Thread John Moore
On 18/03/13 11:21, John Moore wrote: > On 17/03/13 23:08, Maxim Dounin wrote: >> Hello! >> >> On Sun, Mar 17, 2013 at 08:08:39PM +, John Moore wrote: >> >>> I've used nginx as a reverse proxy server for a long while but I've not >>> tried out the proxy cache until today, and I have to say I'm a

Re: Simple question about proxy cache

2013-03-18 Thread John Moore
On 17/03/13 23:08, Maxim Dounin wrote: > Hello! > > On Sun, Mar 17, 2013 at 08:08:39PM +, John Moore wrote: > >> I've used nginx as a reverse proxy server for a long while but I've not >> tried out the proxy cache until today, and I have to say I'm a little >> bit confused by what I'm seeing in

Re: Simple question about proxy cache

2013-03-17 Thread Maxim Dounin
Hello! On Sun, Mar 17, 2013 at 08:08:39PM +, John Moore wrote: > I've used nginx as a reverse proxy server for a long while but I've not > tried out the proxy cache until today, and I have to say I'm a little > bit confused by what I'm seeing in the cache log, and I'm wondering > whether I

Simple question about proxy cache

2013-03-17 Thread John Moore
I've used nginx as a reverse proxy server for a long while but I've not tried out the proxy cache until today, and I have to say I'm a little bit confused by what I'm seeing in the cache log, and I'm wondering whether I've set things up correctly. My requirements are actually pretty simple. I h