Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32234 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58665 invoked by uid 1010); 11 Sep 2007 08:11:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58650 invoked from network); 11 Sep 2007 08:11:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Sep 2007 08:11:37 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.187 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.198.187 rv-out-0910.google.com Received: from [209.85.198.187] ([209.85.198.187:41618] helo=rv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/B1-48550-8BD46E64 for ; Tue, 11 Sep 2007 04:11:36 -0400 Received: by rv-out-0910.google.com with SMTP id k15so1307897rvb for ; Tue, 11 Sep 2007 01:11:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=YjqzJDBcISSIfNH6yXGZ+kSnM6BqpvbMtYzwLoLBNk0=; b=SQ6rrgNgDYnvtFBkn8rN69otbfI0fj1M0PJ39TKObJILAmkiApWLAVnSVGD2mNv45p6qpfFkXOWDNEZX6o17/RWHHMwRvHh4hlpmFBUCl76uDVMiMX2tP10/FwjndJ+FUzRn3ZojdQMQNYRUNPaoJjELJWa6KEBgnTeWzTrPIqc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DVxHLxKYauDwp9z1RwxwXK8CTFYk3+FiHzC/fnKSWVzHpAEjDWVwExYku9VY9lPHzddvqLpovyX5WnJ48zEGCjWpCkATNQRCYKWYbrNKiJ+QXB24Q4K1w+funbU8GTr52YDIvSIS78QKFG21ujWQeKHYUdTNiNp9StF4UnZJ1IQ= Received: by 10.141.209.7 with SMTP id l7mr2099445rvq.1189498292439; Tue, 11 Sep 2007 01:11:32 -0700 (PDT) Received: by 10.141.37.7 with HTTP; Tue, 11 Sep 2007 01:11:27 -0700 (PDT) Message-ID: Date: Tue, 11 Sep 2007 10:11:27 +0200 To: jani.taskinen@iki.fi Cc: "Andi Gutmans" , "Ilia Alshanetsky" , "PHP Developers Mailing List" In-Reply-To: <1189498072.3319.14.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6F509818-65A2-4B17-8C44-6970E815A169@prohost.org> <698DE66518E7CA45812BD18E807866CEA2AE39@us-ex1.zend.net> <1189498072.3319.14.camel@localhost.localdomain> Subject: Re: [PHP-DEV] PHP 5.3 Suggested Feature List From: pierre.php@gmail.com (Pierre) On 9/11/07, Jani Taskinen wrote: > On Mon, 2007-09-10 at 22:56 +0200, Pierre wrote: > > On 9/10/07, Andi Gutmans 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