You are here

protected property PageCache::$responsePolicy in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/page_cache/src/StackMiddleware/PageCache.php \Drupal\page_cache\StackMiddleware\PageCache::responsePolicy
  2. 10 core/modules/page_cache/src/StackMiddleware/PageCache.php \Drupal\page_cache\StackMiddleware\PageCache::responsePolicy

A policy rule determining the cacheability of the response.

Type: \Drupal\Core\PageCache\ResponsePolicyInterface

File

core/modules/page_cache/src/StackMiddleware/PageCache.php, line 48

Class

PageCache
Executes the page caching before the main kernel takes over the request.

Namespace

Drupal\page_cache\StackMiddleware

Code

protected $responsePolicy;