page_cache.services.yml

Same filename in other branches
  1. 8.9.x core/modules/page_cache/page_cache.services.yml
  2. 10 core/modules/page_cache/page_cache.services.yml
  3. 11.x core/modules/page_cache/page_cache.services.yml
core/modules/page_cache/page_cache.services.yml

File

core/modules/page_cache/page_cache.services.yml

View source
  1. services:
  2. http_middleware.page_cache:
  3. class: Drupal\page_cache\StackMiddleware\PageCache
  4. arguments: ['@cache.page', '@page_cache_request_policy', '@page_cache_response_policy']
  5. tags:
  6. - { name: http_middleware, priority: 200, responder: true }
  7. cache.page:
  8. class: Drupal\Core\Cache\CacheBackendInterface
  9. tags:
  10. - { name: cache.bin }
  11. factory: ['@cache_factory', 'get']
  12. arguments: [page]

Services

Title Deprecated Summary
cache.page Drupal\Core\Cache\CacheBackendInterface
http_middleware.page_cache Drupal\page_cache\StackMiddleware\PageCache

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