protected FinishResponseSubscriber::setExpiresNoCache(Response $response)
Disable caching in ancient browsers and for HTTP/1.0 proxies and clients.
HTTP/1.0 proxies do not support the Vary header, so prevent any caching by sending an Expires date in the past. HTTP/1.1 clients ignore the Expires header if a Cache-Control: max-age= directive is specified (see RFC 2616, section 14.9.3).
Parameters
\Symfony\Component\HttpFoundation\Response $response: A response object.
File
core/lib/Drupal/Core/E