public static function getDefaultCache()
{
if (\Pimcore\Config::getSystemConfig()) {
// default mysql cache adapter
$config = self::getDefaultConfig();
$cache = self::initializeCache($config);
} else {
$cache = self::getBlackHoleCache();
}
return $cache;
}