private function createCache($renderedContent)
    {
        if (!CmsComponent::isCmsLoggedIn()) {
            Cache::getInstance()->setCacheForPath(Request::$requestUri, $renderedContent, json_encode(ResponseHeaders::getHeaders()));
        }
    }
private function createCache($renderedContent)
    {
        if (!CmsComponent::isCmsLoggedIn()) {
            Cache::getInstance()->setCacheForPath(Request::$requestUri, $renderedContent, json_encode(ResponseHeaders::getHeaders()));
        }
    }
private function createCache ( $ renderedContent ) { if ( ! CmsComponent :: isCmsLoggedIn ( ) ) { Cache :: getInstance ( ) -> setCacheForPath ( Request :: $ requestUri , $ renderedContent , json_encode ( ResponseHeaders :: getHeaders ( ) ) ) ; } }
Sets the new cache, unless a cms user is logged in
@param $renderedContent
@throws \RuntimeException
Sets the new cache unless a cms user is logged in