Skip to content
Permalink
Browse files

Fix EZP-20184: content.ttl_cache parameter is send to the browser

  • Loading branch information...
dpobel committed Dec 3, 2012
1 parent dae7e04 commit cbf917107c69278b97b337305feb6168b787ee39
Showing with 1 addition and 1 deletion.
  1. +1 −1 eZ/Publish/Core/MVC/Symfony/Controller/Content/ViewController.php
@@ -55,7 +55,7 @@ protected function buildResponse( $etag, DateTime $lastModified )
&& $this->getParameter( 'content.ttl_cache' ) === true )
{
$response->setVary( 'If-None-Match' );
$response->setMaxAge(
$response->setSharedMaxAge(
$this->getParameter( 'content.default_ttl' )
);
}

0 comments on commit cbf9171

Please sign in to comment.
You can’t perform that action at this time.