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
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
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
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/
@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
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/
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
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