APC values randomly disappear
- by Michael
I'm using APC for storing a map of class names to class file paths. I build the map like this in my autoload function:
$class_paths = apc_fetch('class_paths');
// If the class path is stored in application cache - search finished.
if (isset($class_paths[$class])) {
return require_once $class_paths[$class];
// Otherwise search in known…