public function renderPrivateResponse($view, array $parameters = [], Response $response = null)
    {
        return $this->renderResponse($view, $parameters, $response)
            ->setTtl(0)
            ->setPrivate()
        ;
    }
public function renderPrivateResponse($view, array $parameters = [], Response $response = null)
    {
        return $this->renderResponse($view, $parameters, $response)
            ->setTtl(0)
            ->setPrivate()
        ;
    }
public function renderPrivateResponse ( $ view , array $ parameters = [ ] , Response $ response = null ) { return $ this -> renderResponse ( $ view , $ parameters , $ response ) -> setTtl ( 0 ) -> setPrivate ( ) ; }
Returns a Response object that cannot be cacheable, this must be used if the Response is related to the user.
A good solution to make the page cacheable is to configure the block to be cached with javascript ...

@param string   $view
@param array    $parameters
@param Response $response

@return Response
Returns a Response object that cannot be cacheable this must be used if the Response is related to the user . A good solution to make the page cacheable is to configure the block to be cached with javascript ...