http_middleware.page_cache

Same name in other branches
  1. 9 core/modules/page_cache/page_cache.services.yml \http_middleware.page_cache
  2. 10 core/modules/page_cache/page_cache.services.yml \http_middleware.page_cache
  3. 11.x core/modules/page_cache/page_cache.services.yml \http_middleware.page_cache

Class

Drupal\page_cache\StackMiddleware\PageCache

Tags

  • http_middleware

File

core/modules/page_cache/page_cache.services.yml

View source
  1. class: Drupal\page_cache\StackMiddleware\PageCache
  2. arguments:
  3. - '@cache.page'
  4. - '@page_cache_request_policy'
  5. - '@page_cache_response_policy'
  6. tags:
  7. - { name: http_middleware, priority: 200, responder: true }

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