Re: [VOTE] Opcache optimization without any caching

From: Date: Sat, 30 May 2020 16:58:33 +0000
Subject: Re: [VOTE] Opcache optimization without any caching
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-110314@lists.php.net to get a copy of this message
On Sat, May 30, 2020, 18:20 tyson andre <tysonandre775@hotmail.com> wrote: > Hi Marco, > > > The naming is extremely wonky: allow_cache to allow_optimization? 🤔 > > Nonetheless, this is extremely valuable for widely used binaries and > long running processes, so 👍 > > I'm not fully clear on what you mean for opcache.allow_optimization to do > - you'd have to combine it with changes to other settings > (e.g. allow it to override opcache.enable=0 to optimize but not cache if > the opcache extension is loaded). > The setting opcache.optimization_level is already available to enable or > disable *optimizations*. > The separate setting in > https://wiki.php.net/rfc/opcache.no_cache to > enable or disable caching seemed like the easiest to understand for me. > > With opcache.enable=1, opcache.enable_cli=1 (if CLI), and > opcache.allow_cache=0, optimizations are enabled, but caching is disabled > Thanks, makes much more sense. >

« previous php.internals (#110314) next »