/** * Revalidate all currently cached entries */ public function revalidateCache() { $start = microtime(true); $cache = Varien_Autoload::getCache(); Varien_Autoload::setCache(array()); foreach ($cache as $className => $path) { Varien_Autoload::getFullPath($className); } $duration = microtime(true) - $start; Mage::log('[ClassPathCache] Revalidated ' . count($cache) . ' classes (duration: ' . round($duration, 2) . ' sec)', 6, self::LOG_FILE); }