Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ResponseCacheStrategy.php

ResponseCacheStrategy::OVERRIDE_DIRECTIVES

Cache-Control headers that are sent to the final response if they appear in ANY of the responses.

File

vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php, line 30

Class

ResponseCacheStrategy
ResponseCacheStrategy knows how to compute the Response cache HTTP header based on the different response cache headers.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

private const OVERRIDE_DIRECTIVES = [
    'private',
    'no-cache',
    'no-store',
    'no-transform',
    'must-revalidate',
    'proxy-revalidate',
];
RSS feed
Powered by Drupal