Re: [PHP-DEV] Proposing a new 'cache_key' streams operation

2017-03-10 Thread François Laupretre
Hi, Le 09/03/2017 à 19:58, Adam Baratz a écrit : Thanks for sharing this. Very interesting idea. Have you posted an RFC yet? That'll help lay out the bigger questions and guide the conversation. There are some notes here if you haven't done one before: https://wiki.php.net/rfc/howto I am curr

Re: [PHP-DEV] Proposing a new 'cache_key' streams operation

2017-03-09 Thread Adam Baratz
> > This PR creates a mechanism to be used by opcode caches to determine > whether a stream-wrapped URI is cacheable, and the key to use when > caching it. > Thanks for sharing this. Very interesting idea. Have you posted an RFC yet? That'll help lay out the bigger questions and guide the conversa

[PHP-DEV] Proposing a new 'cache_key' streams operation

2017-03-09 Thread François Laupretre
Hi, PR is : https://github.com/php/php-src/pull/1711 This PR creates a mechanism to be used by opcode caches to determine whether a stream-wrapped URI is cacheable, and the key to use when caching it. The first usage for this operation is to opcode-cache the PHP code managed by PCS, which i