...
Code Block | ||
---|---|---|
| ||
use Symfony\Component\HttpFoundation\Response; // Inside a controller action // Tells proxy configured to support this header to take the rights of a user (user hash) into account for the cache $response = new Response(); $response->setVary('X-User-Hash'); |
Children Display | ||
---|---|---|
|