Re: Preload scripts and preloaded scripts only options
| From: | Yasuo Ohgaki | Date: | Sat, 16 May 2015 21:10:05 +0000 |
| Subject: | Re: Preload scripts and preloaded scripts only options | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86269@lists.php.net to get a copy of this message | ||
Hi Stas,
On Sun, May 17, 2015 at 4:53 AM, Stanislav Malyshev <smalyshev@gmail.com>
wrote:
> > In addition, how about have a option that allows preloaded script only?
>
> I imagine it would be not hard to do with an extension overriding
> compile_file, etc. the same way opcache does?
>
> This way it can be implemented as independent functionality not needing
> modification of the engine or opcache.
Right. Users could implement whitelist by themselves.
However, isn't it nice to have this feature? It does not have any
performance penalty.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net