Hi!
What is the status of https://wiki.php.net/rfc/streams-is-cacheable ?
Will it be open for votes soon enough?
It looks a silly change but pretty useful to some projects I have.
Cheers,
--
César D. Rodas
Open Source developer
+595-983-161124
PGP: F9ED A265 A3AB C8A1 D145 7368 158A 0336 C707 0AA6
De : Cesar Rodas [mailto:cesar@rodas.me]
What is the status of https://wiki.php.net/rfc/streams-is-cacheable ?
Will it be open for votes soon enough?It looks a silly change but pretty useful to some projects I have.
Is_cacheable() is based on the fact that the key to use is the path itself, which is too specific.
The RFC will be rewritten to propose a 'cache_key' operation, which will have the responsibility to return a binary string to use as a key to cache and retrieve the given path/uri. Among others, it will allow plain files to be cached using a combination of device+inode+mtime, as it was done in APC, instead of using the path (this will solve the issue with chrooted environments).
I hope I can propose the new version for 7.1.
Regards
François