get('view'); (!$config['cacheDir']) && $config['cacheDir'] = './runtime/cache/application/' . request()->module() . '/'; $cache = File::instance($config['cacheDir']); if ($cache->exists($ident)) return Response::instance()->send($cache->get($ident)); } return $next(); } }