page_cache_no_cache_routes

Same name in other branches
  1. 8.9.x core/core.services.yml \page_cache_no_cache_routes
  2. 10 core/core.services.yml \page_cache_no_cache_routes

Class

Drupal\Core\PageCache\ResponsePolicy\DenyNoCacheRoutes

Tags

  • page_cache_response_policy
  • dynamic_page_cache_response_policy

File

core/core.services.yml

View source
  1. class: Drupal\Core\PageCache\ResponsePolicy\DenyNoCacheRoutes
  2. arguments:
  3. - '@current_route_match'
  4. public: false
  5. tags:
  6. - { name: page_cache_response_policy }
  7. - { name: dynamic_page_cache_response_policy }

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