You are here

page_cache.services.yml in Drupal 9

Same filename and directory in other branches
  1. 8 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]