public function profiler($request, $response) {
        $this->_stopTime();

        if ($this->_enabled == true) {
            $dataProfiler = [];

            $dataProfiler['time'] = round($this->_time, 2);
            $dataProfiler['timeUser'] = $this->_timeUser;
            $dataProfiler['controller'] = get_included_files();
            $dataProfiler['template'] = $this->_template;
            $dataProfiler['request'] = serialize($request);
            $dataProfiler['response'] = serialize($response);
            $dataProfiler['sql'] = $this->_sql;
            $dataProfiler['get'] = $_GET;
            $dataProfiler['post'] = $_POST;
            $dataProfiler['put'] = Data::instance()->put;
            $dataProfiler['patch'] = Data::instance()->patch;
            $dataProfiler['delete'] = Data::instance()->delete;
            $dataProfiler['session'] = $_SESSION;
            $dataProfiler['cookie'] = $_COOKIE;
            $dataProfiler['files'] = $_FILES;
            $dataProfiler['server'] = $_SERVER;
            $dataProfiler['url'] = $_SERVER['REQUEST_URI'];

            if ($request->controller != 'asset' && $request->controller != 'profiler') {
                $cache = new Cache('core-profiler', 0);
                $cache->setContent($dataProfiler);
                $cache->setCache();
            }

            $cacheId = new Cache('core-profiler-' . $request->src . '.' . $request->controller . '.' . $request->action, 0);
            $cacheId->setContent($dataProfiler);
            $cacheId->setCache();
        }
    }