function SurrogateInterface::addSurrogateControl
Adds HTTP headers to specify that the Response needs to be parsed for Surrogate.
This method only adds an Surrogate HTTP header if the Response has some Surrogate tags.
2 methods override SurrogateInterface::addSurrogateControl()
- Esi::addSurrogateControl in vendor/
symfony/ http-kernel/ HttpCache/ Esi.php - Adds HTTP headers to specify that the Response needs to be parsed for Surrogate.
- Ssi::addSurrogateControl in vendor/
symfony/ http-kernel/ HttpCache/ Ssi.php - Adds HTTP headers to specify that the Response needs to be parsed for Surrogate.
File
-
vendor/
symfony/ http-kernel/ HttpCache/ SurrogateInterface.php, line 44
Class
Namespace
Symfony\Component\HttpKernel\HttpCacheCode
public function addSurrogateControl(Response $response) : void;