[EMAIL PROTECTED] mod_cache and conditional disabling

2005-08-25 Thread Steve McInerney
Hi, As part of implementing a short term performance improvement, we're looking at using a caching reverse proxy. In essence we need to be able to disable mod_cache on a reverse proxy configuration for certain classes of users only. Users are able to be identified via Cookie and hence we can

Re: [EMAIL PROTECTED] mod_cache and conditional disabling

2005-08-25 Thread Colm MacCarthaigh
On Thu, Aug 25, 2005 at 04:03:53PM +1000, Steve McInerney wrote: As part of implementing a short term performance improvement, we're looking at using a caching reverse proxy. In essence we need to be able to disable mod_cache on a reverse proxy configuration for certain classes of users

RE: [EMAIL PROTECTED] mod_cache and conditional disabling

2005-08-25 Thread Axel-Stéphane SMORGRAV
or something like that. -ascs -Original Message- From: Steve McInerney [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 8:04 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] mod_cache and conditional disabling Hi, As part of implementing a short term performance improvement

Re: [EMAIL PROTECTED] mod_cache and conditional disabling

2005-08-25 Thread Colm MacCarthaigh
On Thu, Aug 25, 2005 at 10:30:19AM +0200, Axel-Stéphane SMORGRAV wrote: It is possible by doing a bit of rewriting and tweaking of URLs. Here's the general idea: RewriteCond %{HTTP_COOKIE}MYCOOKIE RewriteRule ^(.*)$ /DONTCACHE$1 ProxyPass /DONTCACHE http://backend.foo.bar/

RE: [EMAIL PROTECTED] mod_cache and conditional disabling

2005-08-25 Thread Axel-Stéphane SMORGRAV
@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_cache and conditional disabling On Thu, Aug 25, 2005 at 10:30:19AM +0200, Axel-Stéphane SMORGRAV wrote: It is possible by doing a bit of rewriting and tweaking of URLs. Here's the general idea: RewriteCond %{HTTP_COOKIE}MYCOOKIE

Re: [EMAIL PROTECTED] mod_cache and conditional disabling

2005-08-25 Thread Colm MacCarthaigh
On Thu, Aug 25, 2005 at 01:56:07PM +0200, Axel-Stéphane SMORGRAV wrote: OK What about this, at the expense of an additional GET : VirtualHost www.foo.bar RewriteCond %{HTTP_COOKIE} MYCOOKIE RewriteRule ^(.*)$ http://cache.foo.bar$1 [P] ProxyPassReverse / http://cache.foo.bar/

RE: [EMAIL PROTECTED] mod_cache and conditional disabling

2005-08-25 Thread Axel-Stéphane SMORGRAV
Uh, yeah. T'was the other way around. Well: Houston, we've got a solution ! -ascs -Original Message- From: Colm MacCarthaigh [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 2:04 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_cache and conditional disabling

RE: [EMAIL PROTECTED] mod_cache and conditional disabling

2005-08-25 Thread Steve McInerney
PROTECTED] mod_cache and conditional disabling On Thu, Aug 25, 2005 at 01:56:07PM +0200, Axel-Stéphane SMORGRAV wrote: OK What about this, at the expense of an additional GET : VirtualHost www.foo.bar RewriteCond %{HTTP_COOKIE}MYCOOKIE RewriteRule ^(.*)$ http://cache.foo.bar$1