PageCache::$requestPolicy
Same name in other branches
- 9 core/modules/page_cache/src/StackMiddleware/PageCache.php \Drupal\page_cache\StackMiddleware\PageCache::requestPolicy
- 10 core/modules/page_cache/src/StackMiddleware/PageCache.php \Drupal\page_cache\StackMiddleware\PageCache::requestPolicy
- 11.x core/modules/page_cache/src/StackMiddleware/PageCache.php \Drupal\page_cache\StackMiddleware\PageCache::requestPolicy
A policy rule determining the cacheability of a request.
Type: \Drupal\Core\PageCache\RequestPolicyInterface
File
-
core/
modules/ page_cache/ src/ StackMiddleware/ PageCache.php, line 41
Class
- PageCache
- Executes the page caching before the main kernel takes over the request.
Namespace
Drupal\page_cache\StackMiddlewareCode
protected $requestPolicy;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.