namespace Drupal\Core\PageCache\RequestPolicy

Same name in other branches
  1. 9 Drupal\Core\PageCache\RequestPolicy
  2. 8.9.x Drupal\Core\PageCache\RequestPolicy
  3. 10 Drupal\Core\PageCache\RequestPolicy
Object name File name Summary
CommandLineOrUnsafeMethod core/lib/Drupal/Core/PageCache/RequestPolicy/CommandLineOrUnsafeMethod.php Reject when running from the command line or when HTTP method is not safe.
NoSessionOpen core/lib/Drupal/Core/PageCache/RequestPolicy/NoSessionOpen.php A policy allowing delivery of cached pages when there is no session open.

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