Symfony\Component\HttpKernel\HttpCache\Esi::addSurrogateControl
Adds HTTP headers to specify that the Response needs to be parsed for ESI.
This method only adds an ESI HTTP header if the Response has some ESI tags.
Signature
public function addSurrogateControl(Response
$response )
Parameters
$response
— Symfony\Component\HttpFoundation\Response- A Response instance