RE: [PHP-DEV] [RFC] Add is_cacheable() stream-wrapper operation
| From: | François Laupretre | Date: | Sun, 04 Jan 2015 16:13:59 +0000 |
| Subject: | RE: [PHP-DEV] [RFC] Add is_cacheable() stream-wrapper operation | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80153@lists.php.net to get a copy of this message | ||
> De : Andrea Faulds [mailto:ajf@ajf.me]
> How would cache invalidation work? Is there already some mechanism to
> handle that with streams?
Sorry, I am not sure I understand what you mean with 'cache invalidation'.
Do you mean stat/mtime check to detect file changes ? This mechanism works
the same with stream wrappers through an url_stat() call.