Re: httpd 2.2 cache - disable and enable

2006-10-12 Thread Brian Akins
Matthieu Estrade wrote: IMHO, a regexp based cache enable or disable could be very usefull for a default caching policy shipped with httpd. We could do per default caching only on all images, css and all static content. Some random thoughts: Personally, I think the "cache rules matching metho

Re: httpd 2.2 cache - disable and enable

2006-10-12 Thread Brian Akins
wrote: Wouldn't it be easier to do a match on mime type, like ExpiresByType? we do not know the mime type in quick_handler. In theory, you could disable/enable the CACHE_SAVE filter by mime type, but that seems a little messy because we would check in quick_handler to see if its cached.

Re: httpd 2.2 cache - disable and enable

2006-10-12 Thread Bart van der Schans
Matthieu Estrade wrote: > Bart van der Schans a écrit : >> Matthieu Estrade wrote: >> > It could be great to do it by type, but it can have a big side effect. > Usually, resources not identified by extension are resources delivering > content based on dynamic information. > If these dynamic infor

Re: httpd 2.2 cache - disable and enable

2006-10-12 Thread Matthieu Estrade
Bart van der Schans a écrit : Matthieu Estrade wrote: Colm MacCarthaigh a écrit : I agree on this point, but people using this directive choose to loose time on this regexp check. The problem i have is many people wants to enable cache on .gif and .jpeg and .pdf, but they don't know the exact

Re: httpd 2.2 cache - disable and enable

2006-10-12 Thread Bart van der Schans
Matthieu Estrade wrote: > Colm MacCarthaigh a écrit : > I agree on this point, but people using this directive choose to loose > time on this regexp check. > The problem i have is many people wants to enable cache on .gif and > .jpeg and .pdf, but they don't know the exact path. Wouldn't it be easi

Re: httpd 2.2 cache - disable and enable

2006-10-11 Thread Akins, Brian
On 10/11/06 11:11 AM, "Colm MacCarthaigh" <[EMAIL PROTECTED]> wrote: somebody have more preferences to one method ? > > I'd be -1 to anything that needed to perform a regular expression test > to check the cache, it'd be a huge CPU hit on something that we're > supposed to be doing as quickly

Re: httpd 2.2 cache - disable and enable

2006-10-11 Thread Matthieu Estrade
Colm MacCarthaigh a écrit : On Wed, Oct 11, 2006 at 05:04:21PM +0200, Matthieu Estrade wrote: Hi, I would like to make disable and enable work with regular expression. Something like CacheDisableMatch and CacheEnableMatch or working with location tags. Does somebody have more preferences

Re: httpd 2.2 cache - disable and enable

2006-10-11 Thread Colm MacCarthaigh
On Wed, Oct 11, 2006 at 05:04:21PM +0200, Matthieu Estrade wrote: > Hi, > > I would like to make disable and enable work with regular expression. > Something like CacheDisableMatch and CacheEnableMatch or working with > location tags. > > Does somebody have more preferences to one method ? I'd

httpd 2.2 cache - disable and enable

2006-10-11 Thread Matthieu Estrade
Hi, I would like to make disable and enable work with regular expression. Something like CacheDisableMatch and CacheEnableMatch or working with location tags. Does somebody have more preferences to one method ? Matthieu