Re: mod_cache+mod_rewrite behaviour

2007-01-28 Thread Fredrik Widlund
gards, Fredrik Widlund Plüm skrev: -Ursprüngliche Nachricht- Von: Fredrik Widlund Gesendet: Freitag, 19. Januar 2007 12:30 An: dev@httpd.apache.org Betreff: Re: mod_cache+mod_rewrite behaviour Hi, Thanks for the information. Tried the patch and it mends it the behaviour, howev

Re: mod_cache+mod_rewrite behaviour

2007-01-23 Thread Bart van der Schans
Akins, Brian wrote: In our home-grown cache module, the "rules" are actually provider based. We have providers that provide matches based on exact match, string match, regex, prefix, environment variable, and other assorted things. Something like: CacheEnable disk regex=\.gif$ ignore_query Cac

Re: mod_cache+mod_rewrite behaviour

2007-01-23 Thread Akins, Brian
On 1/23/07 10:44 AM, "Niklas Edmundsson" <[EMAIL PROTECTED]> wrote: > Ah, you can place CacheEnable-directives in the vhost context too. > Then it should be sufficient, unless you want to say "ignore > querystring for all .gif:s" or something like that. Perhaps use a > regex instead? In our hom

Re: mod_cache+mod_rewrite behaviour

2007-01-23 Thread Niklas Edmundsson
On Tue, 23 Jan 2007, Brian Akins wrote: Niklas Edmundsson wrote: Since mod_cache runs as a quick handler, matching based on URL would probably be the easiest since you don't have the mime type info then. Maybe something like CacheEnable disk /special/path ignore_query Could add other option

Re: mod_cache+mod_rewrite behaviour

2007-01-23 Thread Brian Akins
Niklas Edmundsson wrote: Since mod_cache runs as a quick handler, matching based on URL would probably be the easiest since you don't have the mime type info then. Maybe something like CacheEnable disk /special/path ignore_query Could add other options if future as well. -- Brian Akins Chief

Re: mod_cache+mod_rewrite behaviour

2007-01-23 Thread Niklas Edmundsson
On Fri, 19 Jan 2007, Bart van der Schans wrote: Fredrik Widlund wrote: I understand this has been discussed earlier in the " mod_cache, don't always run as a quick handler." discussion, and I'd like to second this request. And/or I'd be very happy to add a "CacheIgnoreQueryString On" option to

Re: mod_cache+mod_rewrite behaviour

2007-01-22 Thread Bart van der Schans
Fredrik Widlund wrote: > > I understand this has been discussed earlier in the " mod_cache, don't > always run as a quick handler." discussion, and I'd like to second this > request. And/or I'd be very happy to add a "CacheIgnoreQueryString On" > option to mod_cache. I also would like to have this

Re: mod_cache+mod_rewrite behaviour

2007-01-21 Thread Ruediger Pluem
On 01/21/2007 05:55 PM, Scott MacVicar wrote: > Ruediger Pluem wrote: > >> >> On 01/21/2007 04:09 PM, Scott MacVicar wrote: >> >>> We did use mod_expires but the Expires header was being passed on to the >>> client, mod_headers didn't appear to be able to unset this during tests. >> >> >> This i

Re: mod_cache+mod_rewrite behaviour

2007-01-21 Thread Scott MacVicar
Ruediger Pluem wrote: On 01/21/2007 04:09 PM, Scott MacVicar wrote: We did use mod_expires but the Expires header was being passed on to the client, mod_headers didn't appear to be able to unset this during tests. This is true, but what is the problem with passing the Expires header to the c

Re: mod_cache+mod_rewrite behaviour

2007-01-21 Thread Ruediger Pluem
On 01/21/2007 04:09 PM, Scott MacVicar wrote: > > We did use mod_expires but the Expires header was being passed on to the > client, mod_headers didn't appear to be able to unset this during tests. This is true, but what is the problem with passing the Expires header to the client? If you want

Re: mod_cache+mod_rewrite behaviour

2007-01-21 Thread Scott MacVicar
Ruediger Pluem wrote: On 01/19/2007 05:49 PM, Scott MacVicar wrote: I already have a patch that we're using in production, attached are patches for the 2.2 and trunk. I was under the impression that there wasn't any interest in a patch like this hence I've not opened an issue to get this inte

Re: mod_cache+mod_rewrite behaviour

2007-01-21 Thread Fredrik Widlund
I wrote a patch friday, had a few minutes over to test it and it seemed to work fine. Of course it's a minimal patch, but I'll double check it tomorrow anyway, and try to convince you guys to accept it. :) Kind regards, Fredrik Widlund Ruediger Pluem skrev: On 01/19/2007 05:49 PM, Scott MacVi

Re: mod_cache+mod_rewrite behaviour

2007-01-21 Thread Ruediger Pluem
On 01/19/2007 05:49 PM, Scott MacVicar wrote: > > I already have a patch that we're using in production, attached are > patches for the 2.2 and trunk. > > I was under the impression that there wasn't any interest in a patch > like this hence I've not opened an issue to get this integrated into

Re: mod_cache+mod_rewrite behaviour

2007-01-19 Thread Scott MacVicar
yString" option accepted? Who/where do I ask this? Kind regards, Fredrik Widlund Plüm wrote: -Ursprüngliche Nachricht- Von: Fredrik Widlund Gesendet: Freitag, 19. Januar 2007 10:23 An: dev@httpd.apache.org Betreff: mod_cache+mod_rewrite behaviour I'm trying to get mod_cache t

Re: mod_cache+mod_rewrite behaviour

2007-01-19 Thread Plüm , Rüdiger , VF EITO
> -Ursprüngliche Nachricht- > Von: Fredrik Widlund > Gesendet: Freitag, 19. Januar 2007 12:30 > An: dev@httpd.apache.org > Betreff: Re: mod_cache+mod_rewrite behaviour > > > Hi, > > Thanks for the information. Tried the patch and it mends it the > beh

Re: mod_cache+mod_rewrite behaviour

2007-01-19 Thread Fredrik Widlund
pted? Who/where do I ask this? Kind regards, Fredrik Widlund Plüm wrote: >> -Ursprüngliche Nachricht- >> Von: Fredrik Widlund >> Gesendet: Freitag, 19. Januar 2007 10:23 >> An: dev@httpd.apache.org >> Betreff: mod_cache+mod_rewrite behaviour >> >>

Re: mod_cache+mod_rewrite behaviour

2007-01-19 Thread Plüm , Rüdiger , VF EITO
> -Ursprüngliche Nachricht- > Von: Fredrik Widlund > Gesendet: Freitag, 19. Januar 2007 10:23 > An: dev@httpd.apache.org > Betreff: mod_cache+mod_rewrite behaviour > > > I'm trying to get mod_cache to ignore the query_string part of the > request, si

mod_cache+mod_rewrite behaviour

2007-01-19 Thread Fredrik Widlund
I'm trying to get mod_cache to ignore the query_string part of the request, since our customers use "clicktags" in references to static banners. I need to cache these request to improve performance. My idea was to "RewriteRule .* %{REQUEST_URI}?", however I have learned that mod_cache is run as a