Re: [RFC][VOTE] Add support for stream-wrapped URLs in opcode cache
| From: | Dmitry Stogov | Date: | Fri, 23 Jun 2017 06:48:52 +0000 |
| Subject: | Re: [RFC][VOTE] Add support for stream-wrapped URLs in opcode cache | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99624@lists.php.net to get a copy of this message | ||
This way should work.
Currently it works only for phar:// and file://, because opcache knows them, but it's possible
to use some stream flag.
I suggest stop voting, re-work proposal, provide implementation, and try once again.
Thanks. Dmitry.
________________________________
From: François Laupretre <francois@tekwire.net>
Sent: Thursday, June 22, 2017 4:32:13 PM
To: Dmitry Stogov; Internals
Subject: Re: [PHP-DEV] [RFC][VOTE] Add support for stream-wrapped URLs in opcode cache
Hi Dmitry,
Le 22/06/2017 à 09:42, Dmitry Stogov a écrit :
The PR is incomplete, so I can't test and even understand the idea completely.
In my opinion, user defined streams can't be cached, because the wrapper code itself may be
changed from request to request.
Right. I hadn't imagined the case where two different applications would use a common wrapper
name. So, we should probably restrict the feature to permanent (C code) wrappers.
Regards
François