Details
-
Improvement
-
Resolution: Won't Fix
-
Medium
-
4.1.4, 4.2.0, 4.3.0, 4.4.0beta1
-
None
Description
Since php 5.3, it is possible to clear the php filesystem stat cache for a single file.
Since we use clearstatscache() calls heavily in managing cache and binary storage files, we should profit of this opportunity, to get the best performance:
. when a single file has been modified on the fs
. use a clearstatcache( false, $filename ) call
. instead of a plain clearstatcache()