Re: [RFC][VOTE] Add support for stream-wrapped URLs inopcode cache
| From: | 江湖大虾仁 | Date: | Tue, 20 Jun 2017 16:35:24 +0000 |
| Subject: | Re: [RFC][VOTE] Add support for stream-wrapped URLs inopcode cache | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99575@lists.php.net to get a copy of this message | ||
Hi François,
Good work, but I'm not sure if I missed something because I didn't find any discuss
relating to this RFC in my mail box, as well as the PR on GitHub. I have a question about the detail
of
cache_key:
> If the method is not defined, every path associated to this wrapper are non-cacheable. In
> order to avoid key value conflicts, the returned key must start with the same
> '<scheme>://' prefix as the input path. If it not the case, an error is raised and
> the key is ignored.
Why don't we simply ask cache_key to provide the path, and we combine it with
scheme in the core? It's much easier for userland to implement this feature since there is less
limits, and we didn't need to worry about the key conflicts between different stream-wrappers
any more.
best regards,
CHU Zhaowei
------------------ Original ------------------
From: "François Laupretre"<francois@tekwire.net>;
Date: Tue, Jun 20, 2017 02:12 AM
To: "François Laupretre"<francois@php.net>;
"Internals"<internals@lists.php.net>;
Subject: Re: [PHP-DEV] [RFC][VOTE] Add support for stream-wrapped URLs inopcode cache
Hi,
Opening vote for : https://wiki.php.net/rfc/url-opcode-cache
Voting period will end Monday, July 3, 2017, 00:00 UTC.
Regards
François
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php