/** * @return true/false according to cache system being installed */ public static function cacheSession($prefix = 'dooSession/', $type = 'file') { $cache = self::cache($type); self::loadCore('session/DooCacheSession'); return DooCacheSession::installOnCache($cache, $prefix); }