From: "Ryan Bloom" <[EMAIL PROTECTED]>
Sent: Saturday, November 03, 2001 1:20 PM


> On Saturday 03 November 2001 04:24 am, Mladen Turk wrote:
> >
> > I'm working on some module and found that my filter procedure gets executed
> > twice for each request.
> > I don't know if that's the bug, It's not a feature I'm sure :-)
> > Putting something like that in the config will double the response time.
> 
> This is a feature, because it allows you to process a file multiple times for the
> same type of format.  While 99% of people won't want to do this, adding
> the overhead to check for this case when adding filters is not a good thing.

Agreed.  Picture a scenario where you SSI-filter a file, run it through another
PHP filter, and then pass that through SSI.  Agreed, it isn't optimal, but some
users will find applications for this.

Bill

Reply via email to