You are here

service page_cache_no_cache_routes in Drupal 9

Same name and namespace in other branches
  1. 8 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
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 }