Re: Preload scripts and preloaded scripts only options
| From: | Yasuo Ohgaki | Date: | Sat, 16 May 2015 22:20:00 +0000 |
| Subject: | Re: Preload scripts and preloaded scripts only options | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86277@lists.php.net to get a copy of this message | ||
Hi Stas,
On Sun, May 17, 2015 at 6:16 AM, Stanislav Malyshev <smalyshev@gmail.com>
wrote:
> > Right. Users could implement whitelist by themselves.
>
> I'm not talking about userspace implementation, I'm talking about
> extension - which would make it work with any code as soon as extension
> is loaded.
>
I see.
Interesting idea.
>
> > However, isn't it nice to have this feature? It does not have any
> > performance penalty.
>
> It may be nice for some use cases, true - but that doesn't mean it
> should be part of opcache. I think it's better to have it as an
> extension - easier to debug, easier to develop, less complex code, etc.
Good point. Preload module may be a good option.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net