DenyNoCacheRoutes

Cache policy for routes with the 'no_cache' option set.

This policy rule denies caching of responses generated for routes that have the 'no_cache' option set to TRUE.

Hierarchy

File

core/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php, line 16

Namespace

Drupal\Core\PageCache\ResponsePolicy

Members

Name Modifiers Type Description
DenyNoCacheRoutes::$routeMatch protected property The current route match.
DenyNoCacheRoutes::check public function Determines whether it is save to store a page in the cache. Overrides ResponsePolicyInterface::check
DenyNoCacheRoutes::__construct public function Constructs a deny node preview page cache policy.
ResponsePolicyInterface::DENY constant Deny storage of a page in the cache.
doc_Drupal
2016-10-29 09:02:11
Comments
Leave a Comment

Please login to continue.