namespace Drupal\Core\PageCache\ResponsePolicy

Same name in other branches
  1. 9 Drupal\Core\PageCache\ResponsePolicy
  2. 8.9.x Drupal\Core\PageCache\ResponsePolicy
  3. 11.x Drupal\Core\PageCache\ResponsePolicy
Object name File name Summary
DenyNoCacheRoutes core/lib/Drupal/Core/PageCache/ResponsePolicy/DenyNoCacheRoutes.php Cache policy for routes with the 'no_cache' option set.
KillSwitch core/lib/Drupal/Core/PageCache/ResponsePolicy/KillSwitch.php A policy evaluating to static::DENY when the kill switch was triggered.
NoServerError core/lib/Drupal/Core/PageCache/ResponsePolicy/NoServerError.php A policy denying caching of a server error (HTTP 5xx) responses.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.