httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm MacCarthaigh <>
Subject Re: [users@httpd] mod_cache and conditional disabling
Date Thu, 25 Aug 2005 08:35:20 GMT
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:
> RewriteRule ^(.*)$ /DONTCACHE$1
> ProxyPass /DONTCACHE
> ProxyPassReverse  /DONTCACHE
> CacheDisable /DONTCACHE
> or something like that.

I don't think that will work reliably. Although it will prevent requests
with the cookie set from being cached, it will not prevent responses for
non-cookie users being served to cookie users. This is because mod_cache
runs as a quick-handler, before mod_rewrite has had a chance to run.

Colm MacCárthaigh                        Public Key:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message