On 9/11/07, Jani Taskinen <[EMAIL PROTECTED]> wrote:
> On Mon, 2007-09-10 at 22:56 +0200, Pierre wrote:
> > On 9/10/07, Andi Gutmans <[EMAIL PROTECTED]> wrote:
> > > > 16) Introduce new php.ini files parser/scanner + CGI/FastCGI?
> > > > "htaccess" style ini file support
> > > >
> > > > 1             0               -1
> > >
> > > 0 (this can be nice but we need to make sure it's optional because those
> > > stat()'s can be very hard on performance which is why many sites turn
> > > off .htaccess).
> >
> > For the record here, a cache is planed once we have a stable version.
> > Something like what htscanner does, it already caches the entries
> > (cache + stat check once ttl is over).
>
> Just clarification: the caching is there already. :)
> But I didn't use any stat calls for sake of KISS.
> When cached results expire, the file (if it exists..) is re-scanned.
> Maybe someone has better idea. But that remains to be seen. :)

Oh damned me, I did not notice it in the patch :)

And I agree, for this feature, a cache system like this one is the
easiest way (to maintain and to keep the performance impact as a very
low level) and works well. I use such system since months with
htscanner (and some ISPs too) and did not notice a significant slow
down.

Cheers,
--Pierre

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to