concrete/src/Application/Application.php
public function checkPageCache(\Concrete\Core\Http\Request $request)
    {
        $library = PageCache::getLibrary();
        if ($library->shouldCheckCache($request)) {
            $record = $library->getRecord($request);
            if ($record instanceof PageCacheRecord) {
                if ($record->validate($request)) {
                    return $library->deliver($record);
                }
            }
        }

        return false;
    }
public function checkPageCache(\Concrete\Core\Http\Request $request)
    {
        $library = PageCache::getLibrary();
        if ($library->shouldCheckCache($request)) {
            $record = $library->getRecord($request);
            if ($record instanceof PageCacheRecord) {
                if ($record->validate($request)) {
                    return $library->deliver($record);
                }
            }
        }

        return false;
    }
public function checkPageCache ( \ Concrete \ Core \ Http \ Request $ request ) { $ library = PageCache :: getLibrary ( ) ; if ( $ library -> shouldCheckCache ( $ request ) ) { $ record = $ library -> getRecord ( $ request ) ; if ( $ record instanceof PageCacheRecord ) { if ( $ record -> validate ( $ request ) ) { return $ library -> deliver ( $ record ) ; } } } return false ; }
Checks to see whether we should deliver a concrete5 response from the page cache.
Checks to see whether we should deliver a concrete5 response from the page cache .