page_cache.services.yml

Same filename and directory in other branches
  1. 9 core/modules/page_cache/page_cache.services.yml
  2. 8.9.x core/modules/page_cache/page_cache.services.yml
  3. 10 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. _defaults:
  3. autoconfigure: true
  4. http_middleware.page_cache:
  5. class: Drupal\page_cache\StackMiddleware\PageCache
  6. arguments: ['@cache.page', '@page_cache_request_policy', '@page_cache_response_policy']
  7. tags:
  8. - { name: http_middleware, priority: 200, responder: true }
  9. cache.page:
  10. class: Drupal\Core\Cache\CacheBackendInterface
  11. tags:
  12. - { name: cache.bin }
  13. factory: ['@cache_factory', 'get']
  14. arguments: [page]

Services

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

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