Partner and Community Forums
Windows Cache Extension for PHP
PHP 7.2 and future of WinCache
Re: PHP 7.2 and future of WinCache
Sep 13, 2017 06:33 PM|DropPhone|LINK
should "inconsistent views of the file system" be a concern when using all these caching layers?
Any caching system must present a coherent view of the resources it caches. With PHP, there's many ways to interact with the file system. The balance when implementing the WinCache file cache is to pick the right set of APIs to hook to ensure coherence.
So, we quickly analyzed the various frameworks (plus the popular extensions for those frameworks) and picked the APIs that would make them work.
And, of course, the frameworks changed, using different PHP file APIs, so it became a moving target to hook new APIs. I think the original set was the stream APIs plus rmdir(). Now it's streams API plus 12 APIs. And there are still some weird usage patterns in
Drupal that I still need to investigate.