Re: PHP 5.3 Suggested Feature List
| From: | Pierre | Date: | Tue, 11 Sep 2007 08:11:27 +0000 |
| Subject: | Re: PHP 5.3 Suggested Feature List | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32234@lists.php.net to get a copy of this message | ||
On 9/11/07, Jani Taskinen <jani.taskinen@sci.fi> wrote:
> On Mon, 2007-09-10 at 22:56 +0200, Pierre wrote:
> > On 9/10/07, Andi Gutmans <andi@zend.com> 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