{"action":"created","issue":{"url":"https://api.github.com/repos/php/php-src/issues/976","labels_url":"https://api.github.com/repos/php/php-src/issues/976/labels{/name}","comments_url":"https://api.github.com/repos/php/php-src/issues/976/comments","events_url":"https://api.github.com/repos/php/php-src/issues/976/events","html_url":"https://github.com/php/php-src/pull/976","id":53320653,"number":976,"title":"Add is_cacheable() stream wrapper operation","user":{"login":"flaupretre","id":1854207,"avatar_url":"https://avatars.githubusercontent.com/u/1854207?v=3","gravatar_id":"","url":"https://api.github.com/users/flaupretre","html_url":"https://github.com/flaupretre","followers_url":"https://api.github.com/users/flaupretre/followers","following_url":"https://api.github.com/users/flaupretre/following{/other_user}","gists_url":"https://api.github.com/users/flaupretre/gists{/gist_id}","starred_url":"https://api.github.com/users/flaupretre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaupretre/subscriptions","organizations_url":"https://api.github.com/users/flaupretre/orgs","repos_url":"https://api.github.com/users/flaupretre/repos","events_url":"https://api.github.com/users/flaupretre/events{/privacy}","received_events_url":"https://api.github.com/users/flaupretre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/php/php-src/labels/RFC","name":"RFC","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-04T00:59:03Z","updated_at":"2015-11-25T18:23:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/php/php-src/pulls/976","html_url":"https://github.com/php/php-src/pull/976","diff_url":"https://github.com/php/php-src/pull/976.diff","patch_url":"https://github.com/php/php-src/pull/976.patch"},"body":"Please refer to the corresponding RFC :\r\n\r\nhttps://wiki.php.net/rfc/streams-is-cacheable"},"comment":{"url":"https://api.github.com/repos/php/php-src/issues/comments/159693607","html_url":"https://github.com/php/php-src/pull/976#issuecomment-159693607","issue_url":"https://api.github.com/repos/php/php-src/issues/976","id":159693607,"user":{"login":"flaupretre","id":1854207,"avatar_url":"https://avatars.githubusercontent.com/u/1854207?v=3","gravatar_id":"","url":"https://api.github.com/users/flaupretre","html_url":"https://github.com/flaupretre","followers_url":"https://api.github.com/users/flaupretre/followers","following_url":"https://api.github.com/users/flaupretre/following{/other_user}","gists_url":"https://api.github.com/users/flaupretre/gists{/gist_id}","starred_url":"https://api.github.com/users/flaupretre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flaupretre/subscriptions","organizations_url":"https://api.github.com/users/flaupretre/orgs","repos_url":"https://api.github.com/users/flaupretre/repos","events_url":"https://api.github.com/users/flaupretre/events{/privacy}","received_events_url":"https://api.github.com/users/flaupretre/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T18:23:21Z","updated_at":"2015-11-25T18:23:21Z","body":"Sure. The feature missed the 7.0 deadline, but is planned for 7.1. An additional reason to implement it is that it is required by [PCS](https://github.com/flaupretre/pecl-pcs), which I'll also propose for inclusion in 7.1. Of course, both features will go through the RFC process first and the result is unpredictable ;) but the contacts I had with some core members are quite positive.\r\n\r\nInstead of is_cacheable(), I will propose a cache_key() operation which will return NULL if the URL is not cacheable, and a zend_string to use as a key if the URL can be cached."}}