The current php cache only works if the functions get called from the same worker, through a loop or similar. However, thats not how php is usually used. Usually a php scripts gets invoked and the worker gets discarded, therefore thee cache gets invalidated. There already is a mechanism that allows replacing the cache implementation with a custom one, but improving the default would be a good idea nevertheless.
The current php cache only works if the functions get called from the same worker, through a loop or similar. However, thats not how php is usually used. Usually a php scripts gets invoked and the worker gets discarded, therefore thee cache gets invalidated. There already is a mechanism that allows replacing the cache implementation with a custom one, but improving the default would be a good idea nevertheless.