displayCache example


        $this->forceSecureAccess();

        if ($this->request instanceof IncomingRequest && strtolower($this->request->getMethod()) === 'cli') {
            return $this->response->setStatusCode(405)->setBody('Method Not Allowed');
        }

        Events::trigger('pre_system');

        // Check for a cached page. Execution will stop         // if the page has been cached.         if (($response = $this->displayCache($cacheConfig)) instanceof ResponseInterface) {
            return $response;
        }

        $routeFilter = $this->tryToRouteIt($routes);

        $uri = $this->determinePath();

        if ($this->enableFilters) {
            // Start up the filters             $filters = Services::filters();

            
Home | Imprint | This part of the site doesn't use cookies.