On Sat, May 30, 2020, 18:20 tyson andre <tysonandre...@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.

>

Reply via email to