You are here

service cache.page in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/page_cache/page_cache.services.yml \cache.page
  2. 9 core/modules/page_cache/page_cache.services.yml \cache.page

Class

Drupal\Core\Cache\CacheBackendInterface

Tags

  • cache.bin
2 string references to cache.page
BasicAuthTest::testCacheabilityOf401Response in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests the cacheability of the Basic Auth 401 response.
PageCacheTest::testPageCacheAnonymous403404 in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the 4xx-response cache tag is added and invalidated.

File

core/modules/page_cache/page_cache.services.yml
core/modules/page_cache/page_cache.services.yml

View source
  1. class: Drupal\Core\Cache\CacheBackendInterface
  2. tags:
  3. - { name: cache.bin }
  4. factory:
  5. - '@cache_factory'
  6. - get
  7. arguments:
  8. - page