Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126171 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id C42071A00BD for ; Sun, 22 Dec 2024 22:30:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1734906433; bh=31koqOQrkuvkRBnTtK63JsyVBemsAnrlOlaCN149tD8=; h=Date:From:To:Subject:In-Reply-To:References:From; b=heMgVsrn99hKkBqx5+amasMFYHQwxSHKGL7+Gs8jKJE6CCzIXXDu8/Y+t+C94n5ti kcCQCQSqXr7ZjkdW+kD86P6E6rlMhlxmFwAQnvraTECIBkK4iw+ktE8LjLVovaBZK6 0+YN9VRv5gouiUMynvOpFKXSFW6Yq6ToEnFM5WoK/7Kfk5QHLmX7oscXgWsmen6ih7 SgVTbkG5VgGnN/fmNvWUKeTZ4DMNVeCYCQ/u0SECTBu55WVKLxBNIEtRJcxFS6HdXw KFXYYUZ2eDaiBWkfWxpNrJm2bxCY3AqNMmMwo5qs4begaJFvm5kAorWeAAU6UyTUqH x7fhvj+SMVh9g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D4B8B18006A for ; Sun, 22 Dec 2024 22:27:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 22 Dec 2024 22:27:11 +0000 (UTC) Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 32E2C25400FB for ; Sun, 22 Dec 2024 17:30:13 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Sun, 22 Dec 2024 17:30:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1734906613; x=1734993013; bh=31koqOQrkuvkRBnTtK63JsyVBemsAnrlOlaCN149tD8=; b= udHutcA277wAsMXdz3lg8m4CofxRMgAKDCp8EA11Z7SGxWPpnKTgdJ5AuuCrJqf/ y8wMeow/YnM5vfHhXDCZLOcx8YYgWQ3xMDiq6h1X0R9+qdCPmNWdB3Q7BF5xO12V lJhw2K8q9d4Pbn4maNPpcPmeRGJAoUCLVhYSHd/PL34VfK1yYUiKwoXh6Z93UYsF Ya2y6Pa4pX6umtCANfDQgr1zfdk43OBD++kBY1l05WZ+FFx6tQ9aYMyvfzahBTTA GjR9aznqlGZ9UNyQ8o7ftib+7pDP/FgJUMSaFU3UECh25s8AZi0qZBkDCDWcM2M6 qizIiD2oZYRj0zd4M10cGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1734906613; x=1734993013; bh=3 1koqOQrkuvkRBnTtK63JsyVBemsAnrlOlaCN149tD8=; b=w51pS0Dzz5WsRA2yT WdqxR02Ucs14Ph03XeBNMMQxitwSOHYY34oMV+mpsoXCb/yBAURdiVY6Gb2L1CXv 0yBIqU95vyiaoc6+m0aLYTG4Mur/8L8k8iODGU1SPizvUJ6I20zn9+DiZlY9jejx fDD8WroEazL0EYUitPVsayIAnOJfiIplDB+lL29zqwAq++n1dUbJ1sFIXRbglT00 X+LFZ/Oo7hz3lGcnPiQcD9O1eRGauG075x09Su5q6DsrWQTyswq0QXTy+hjhzDZA Yjkv1T0ulhIp3gfew0/bNSAtUrePSMBgUNOnyMKdrXcvGlbF6Ef9PvfdjCTin2zZ wa/hw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddtkedgudeitdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvf fufggjfhfkgggtgfesthhqmhdttderjeenucfhrhhomhepfdftohifrghnucfvohhmmhhi nhhsucglkffoufhorfgnfdcuoehimhhsohhprdhphhhpsehrfigvtgdrtghordhukheqne cuggftrfgrthhtvghrnhepheelffetiefgveduteefudegtdduveeludegueegleehiefh hefgtdekveevgfelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepihhmshhophdrphhhphesrhifvggtrdgtohdruhhkpdhnsggprhgtphhtthho pedupdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehinhhtvghrnhgrlhhssehlih hsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 22 Dec 2024 17:30:12 -0500 (EST) Date: Sun, 22 Dec 2024 22:30:10 +0000 To: internals@lists.php.net Subject: Re: [PHP-DEV] Discussion: Remove file statcache? User-Agent: K-9 Mail for Android In-Reply-To: <9169e8f6-a25e-4b69-92fa-a70c0445273f@gmail.com> References: <27531d9d-9bfe-4acc-b9ab-80b1017e3038@app.fastmail.com> <21dd9ac7-e81b-4509-bfa4-a36d05237270@gmail.com> <614d3f45-0f54-4a2e-a21e-2eec5f496fa0@gmail.com> <22132ea8-9e5b-4688-9bf4-4a1972e347b1@rwec.co.uk> <9169e8f6-a25e-4b69-92fa-a70c0445273f@gmail.com> Message-ID: <1313D876-C27F-4870-89CE-55269617F6F6@rwec.co.uk> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 22 December 2024 20:32:47 GMT, Niels Dossche wrote: >All in all though, I'm not convinced by the parameter approach=2E >I'd like a proper solution rather than some plaster=2E >There are some options: >1) Try to fix the stat cache=2E >2) Put stat cache behind an ini knob=2E >3) Get rid of the stat cache=2E > >All of these simplify the developer experience=2E Adding more configurati= on knobs or extra parameters add complexity=2E >I'd like to see more simplification=2E I disagree that number 2 simplifies anything=2E Users who get tripped up b= y the subtle behaviour of the cache won't know to turn it off; users who kn= ow they can get advantage from it will have to make sure it is turned on, a= nd not conflicting with code that wants it turned off; and libraries will h= ave to account for both modes, or add boilerplate=2E I would probably vote for abolishing it completely, or replacing it with s= ome form of *local* setting (maybe *only* on SplFileInfo)=2E I would probab= ly vote against adding an ini setting=2E Regards, Rowan Tommins [IMSoP]