Re: [RFC] Add is_cacheable() stream-wrapper operation
| From: | Derick Rethans | Date: | Sun, 04 Jan 2015 13:17:55 +0000 |
| Subject: | Re: [RFC] Add is_cacheable() stream-wrapper operation | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80148@lists.php.net to get a copy of this message | ||
On Sun, 4 Jan 2015, François Laupretre wrote:
> I just wrote this RFC to propose a clean way for opcode caches to
> decide if a given URI is cacheable or not :
>
> https://wiki.php.net/rfc/streams-is-cacheable
>
> Please comment.
I don't see why you need the define if it's always available. Extension
that implement this can just check for #ifdef PHP_VERSION_ID > 70000.
cheers,
Derick