216 files declare their use of Cache

AccessResult.php in core/lib/Drupal/Core/Access/AccessResult.php
AccessResultTest.php in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
AccessRoleTest.php in core/modules/user/tests/src/Functional/Views/AccessRoleTest.php
AliasPathProcessorTest.php in core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php
AnnounceTestHttpClientMiddleware.php in core/modules/announcements_feed/tests/modules/announce_feed_test/src/AnnounceTestHttpClientMiddleware.php
ArgumentPluginBase.php in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
AssertPageCacheContextsAndTagsTrait.php in core/modules/system/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php
AssertViewsCacheTagsTrait.php in core/modules/views/src/Tests/AssertViewsCacheTagsTrait.php
AttachedRenderingBlock.php in core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
BackendChainImplementationUnitTest.php in core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
block.install in core/modules/block/block.install
Contains install and update functions for Block.
Block.php in core/modules/block/src/Entity/Block.php
BlockAccessControlHandler.php in core/modules/block/src/BlockAccessControlHandler.php
BlockCacheTest.php in core/modules/block/tests/src/Functional/BlockCacheTest.php
BlockComponentRenderArrayTest.php in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockContentCacheTagsTest.php in core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
BlockContentResourceTestBase.php in core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php
BlockContentTest.php in core/modules/jsonapi/tests/src/Functional/BlockContentTest.php
BlockViewBuilder.php in core/modules/block/src/BlockViewBuilder.php
BlockViewBuilderTest.php in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
block_test.module in core/modules/block/tests/modules/block_test/block_test.module
BookManager.php in core/modules/book/src/BookManager.php
BookNavigationBlock.php in core/modules/book/src/Plugin/Block/BookNavigationBlock.php
BookTest.php in core/modules/book/tests/src/Functional/BookTest.php
BreadcrumbManagerTest.php in core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php
BreakpointManager.php in core/modules/breakpoint/src/BreakpointManager.php
BubbleableMetadataTest.php in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
CacheableMetadataCalculationTest.php in core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php
CacheableMetadataTest.php in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
CacheBackendDecorator.php in core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php
CacheCollectorTest.php in core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php
CachePluginBase.php in core/modules/views/src/Plugin/views/cache/CachePluginBase.php
CacheRouterRebuildSubscriber.php in core/lib/Drupal/Core/EventSubscriber/CacheRouterRebuildSubscriber.php
CacheTagTest.php in core/modules/views/tests/src/Functional/Plugin/CacheTagTest.php
CacheTest.php in core/tests/Drupal/Tests/Core/Cache/CacheTest.php
ClearTest.php in core/modules/system/tests/src/Functional/Cache/ClearTest.php
Comment.php in core/modules/comment/src/Entity/Comment.php
CommentDefaultFormatterCacheTagsTest.php in core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php
CommentResourceTestBase.php in core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php
CommentRssTest.php in core/modules/comment/tests/src/Functional/CommentRssTest.php
CommentTest.php in core/modules/jsonapi/tests/src/Functional/CommentTest.php
common.inc in core/includes/common.inc
Common functions that many Drupal modules will need to reference.
ComputedString.php in core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
Config.php in core/lib/Drupal/Core/Config/Config.php
ConfigBase.php in core/lib/Drupal/Core/Config/ConfigBase.php
ConfigEntityBase.php in core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php
ConfigEntityStorageTest.php in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
ConfigFactory.php in core/lib/Drupal/Core/Config/ConfigFactory.php
ConfigTranslationDeleteForm.php in core/modules/config_translation/src/Form/ConfigTranslationDeleteForm.php
ConfigurableLanguageManagerTest.php in core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
ConfigurableLanguageResourceTestBase.php in core/modules/language/tests/src/Functional/Rest/ConfigurableLanguageResourceTestBase.php
ConfigurableLanguageTest.php in core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php
ContactLinkTest.php in core/modules/contact/tests/src/Functional/Views/ContactLinkTest.php
ContentEntityStorageBase.php in core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php
ContentLanguageSettingsTest.php in core/modules/jsonapi/tests/src/Functional/ContentLanguageSettingsTest.php
ContentTranslationManageAccessCheckTest.php in core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php
ContentTranslationUITestBase.php in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
ContextAwarePluginTrait.php in core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
CurrentUser.php in core/modules/user/src/Plugin/views/argument_default/CurrentUser.php
DatabaseBackendTagTest.php in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTagTest.php
DefaultPluginManager.php in core/lib/Drupal/Core/Plugin/DefaultPluginManager.php
delay_cache_tags_invalidation.module in core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module
DisplayPluginBase.php in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
DynamicPageCacheSubscriber.php in core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php
EditorFileReferenceFilterTest.php in core/modules/editor/tests/src/Kernel/EditorFileReferenceFilterTest.php
EndOfTransactionQueriesTest.php in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
EntityBase.php in core/lib/Drupal/Core/Entity/EntityBase.php
EntityCacheTagsTestBase.php in core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php
EntityComputedFieldTest.php in core/modules/system/tests/src/Functional/Entity/EntityComputedFieldTest.php
EntityDisplayTest.php in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
EntityField.php in core/modules/views/src/Plugin/views/field/EntityField.php
EntityFieldManager.php in core/lib/Drupal/Core/Entity/EntityFieldManager.php
EntityFieldManagerTest.php in core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php
EntityLastInstalledSchemaRepository.php in core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php
EntityReferenceFormatterTest.php in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
EntityResourceTestBase.php in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
EntityTestComputedFieldNormalizerTest.php in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestComputedFieldNormalizerTest.php
EntityTestComputedFieldTest.php in core/modules/jsonapi/tests/src/Functional/EntityTestComputedFieldTest.php
EntityTestController.php in core/modules/system/tests/modules/entity_test/src/Controller/EntityTestController.php
EntityTestJsonInternalPropertyNormalizerTest.php in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonInternalPropertyNormalizerTest.php
EntityTestTextItemNormalizerTest.php in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
EntityTypeBundleInfo.php in core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php
EntityTypeBundleInfoTest.php in core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php
EntityUnitTest.php in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityViewBuilder.php in core/lib/Drupal/Core/Entity/EntityViewBuilder.php
EntityViewBuilderTest.php in core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php
EntityWithUriCacheTagsTestBase.php in core/modules/system/tests/src/Functional/Entity/EntityWithUriCacheTagsTestBase.php
ExposedFormPluginBase.php in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
field_layout.install in core/modules/field_layout/field_layout.install
Contains install and update functions for Field Layout.
File.php in core/modules/file/src/Entity/File.php
FileMediaFormatterBase.php in core/modules/file/src/Plugin/Field/FieldFormatter/FileMediaFormatterBase.php
filter.module in core/modules/filter/filter.module
FilterPluginBase.php in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Fixed.php in core/modules/views/src/Plugin/views/argument_default/Fixed.php
FormBuilderTest.php in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
ForumBlockBase.php in core/modules/forum/src/Plugin/Block/ForumBlockBase.php
ForumBreadcrumbBuilderBaseTest.php in core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php
ForumController.php in core/modules/forum/src/Controller/ForumController.php
ForumListingBreadcrumbBuilderTest.php in core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php
ForumNodeBreadcrumbBuilderTest.php in core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php
FrontPageTest.php in core/modules/node/tests/src/Functional/Views/FrontPageTest.php
GenericCacheBackendUnitTestBase.php in core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
HelpBlock.php in core/modules/help/src/Plugin/Block/HelpBlock.php
HelpTopicTwig.php in core/modules/help/src/HelpTopicTwig.php
HelpTopicTwigTest.php in core/modules/help/tests/src/Unit/HelpTopicTwigTest.php
HtmlRenderer.php in core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php
ImageFormatter.php in core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php
ImageStyle.php in core/modules/image/src/Entity/ImageStyle.php
JsonApiDocumentTopLevelNormalizerTest.php in core/modules/jsonapi/tests/src/Kernel/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php
LanguageConfigOverride.php in core/modules/language/src/Config/LanguageConfigOverride.php
LanguageNegotiationUrlTest.php in core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
LanguageUILanguageNegotiationTest.php in core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
layout_builder.install in core/modules/layout_builder/layout_builder.install
Contains install and update functions for Layout Builder.
LibraryDiscoveryCollectorTest.php in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php
LocalActionDefault.php in core/lib/Drupal/Core/Menu/LocalActionDefault.php
LocalTaskDefault.php in core/lib/Drupal/Core/Menu/LocalTaskDefault.php
LocalTaskManager.php in core/lib/Drupal/Core/Menu/LocalTaskManager.php
LocalTaskManagerTest.php in core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
MediaEmbedFilterTest.php in core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php
MediaLibraryState.php in core/modules/media_library/src/MediaLibraryState.php
MediaLibraryStateTest.php in core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
MenuLinkBase.php in core/lib/Drupal/Core/Menu/MenuLinkBase.php
MenuLinkContentCacheabilityBubblingTest.php in core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentCacheabilityBubblingTest.php
MenuLinkMock.php in core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php
MenuLinkTreeTest.php in core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
MenuRouterRebuildSubscriber.php in core/lib/Drupal/Core/EventSubscriber/MenuRouterRebuildSubscriber.php
MenuTreeStorage.php in core/lib/Drupal/Core/Menu/MenuTreeStorage.php
ModeratedNodeResourceTestBase.php in core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeResourceTestBase.php
ModerationStateFilter.php in core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
ModuleInstaller.php in core/lib/Drupal/Core/Extension/ModuleInstaller.php
node.module in core/modules/node/node.module
Node.php in core/modules/node/src/Plugin/views/argument_default/Node.php
NodeEntityViewModeAlterTest.php in core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
NodeTest.php in core/modules/jsonapi/tests/src/Functional/NodeTest.php
OEmbedSourceTest.php in core/modules/media/tests/src/Kernel/OEmbedSourceTest.php
OpenTelemetryFrontPagePerformanceTest.php in core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryFrontPagePerformanceTest.php
OpenTelemetryNodePagePerformanceTest.php in core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryNodePagePerformanceTest.php
PageCache.php in core/modules/page_cache/src/StackMiddleware/PageCache.php
PageCacheTest.php in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
PathAliasTest.php in core/modules/path/tests/src/Functional/PathAliasTest.php
PathBasedBreadcrumbBuilderTest.php in core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php
Permission.php in core/modules/user/src/Plugin/views/access/Permission.php
PermissionsHashGenerator.php in core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
PermissionsHashGeneratorTest.php in core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PlaceholderGenerator.php in core/lib/Drupal/Core/Render/PlaceholderGenerator.php
PlaceholderGeneratorTest.php in core/tests/Drupal/Tests/Core/Render/PlaceholderGeneratorTest.php
ProcessedText.php in core/modules/filter/src/Element/ProcessedText.php
QueryParameter.php in core/modules/views/src/Plugin/views/argument_default/QueryParameter.php
QueryPluginBase.php in core/modules/views/src/Plugin/views/query/QueryPluginBase.php
Raw.php in core/modules/views/src/Plugin/views/argument_default/Raw.php
RefreshVariablesTrait.php in core/lib/Drupal/Core/Test/RefreshVariablesTrait.php
Registry.php in core/lib/Drupal/Core/Theme/Registry.php
RenderCacheIntegrationTest.php in core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php
RenderedEntity.php in core/modules/views/src/Plugin/views/field/RenderedEntity.php
Renderer.php in core/lib/Drupal/Core/Render/Renderer.php
RendererBase.php in core/modules/views/src/Entity/Render/RendererBase.php
RendererBubblingTest.php in core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
RendererPlaceholdersTest.php in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
RendererTest.php in core/tests/Drupal/Tests/Core/Render/RendererTest.php
RendererTestBase.php in core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
Resource.php in core/modules/media/src/OEmbed/Resource.php
ResourceObjectNormalizerCacherTest.php in core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
ResourceResponseTestTrait.php in core/modules/jsonapi/tests/src/Functional/ResourceResponseTestTrait.php
ResourceTestBase.php in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
ResourceTypeRepository.php in core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php
ResourceTypeRepositoryTest.php in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
ResponsiveImageFormatter.php in core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php
Role.php in core/modules/user/src/Plugin/views/access/Role.php
RouteNoneTest.php in core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteNoneTest.php
RouteProcessorCurrentIntegrationTest.php in core/tests/Drupal/KernelTests/Core/RouteProcessor/RouteProcessorCurrentIntegrationTest.php
RouteProcessorManagerTest.php in core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php
RouteProvider.php in core/lib/Drupal/Core/Routing/RouteProvider.php
RouterTest.php in core/modules/system/tests/src/Functional/Routing/RouterTest.php
SearchPageCacheTagsTest.php in core/modules/search/tests/src/Functional/SearchPageCacheTagsTest.php
SectionRenderTest.php in core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php
Serializer.php in core/modules/rest/src/Plugin/views/style/Serializer.php
shortcut.module in core/modules/shortcut/shortcut.module
Shortcut.php in core/modules/shortcut/src/Entity/Shortcut.php
ShortcutSetStorage.php in core/modules/shortcut/src/ShortcutSetStorage.php
SortPluginBase.php in core/modules/views/src/Plugin/views/sort/SortPluginBase.php
SortRandomTest.php in core/modules/views/tests/src/Kernel/Handler/SortRandomTest.php
Sql.php in core/modules/views/src/Plugin/views/query/Sql.php
SqlBase.php in core/modules/views/src/Plugin/views/pager/SqlBase.php
StandardPerformanceTest.php in core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php
StatisticsReportsTest.php in core/modules/statistics/tests/src/Functional/StatisticsReportsTest.php
StyleSerializerEntityTest.php in core/modules/rest/tests/src/Functional/Views/StyleSerializerEntityTest.php
SuperUserAccessPolicyTest.php in core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php
system.module in core/modules/system/system.module
Configuration system that lets administrators modify the workings of the site.
SystemBrandingBlock.php in core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
SystemMenuBlock.php in core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMessagesBlock.php in core/modules/system/src/Plugin/Block/SystemMessagesBlock.php
system_module_test.install in core/modules/system/tests/modules/system_module_test/system_module_test.install
Table.php in core/modules/views/src/Plugin/views/style/Table.php
TermResourceTestBase.php in core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php
TermTest.php in core/modules/jsonapi/tests/src/Functional/TermTest.php
TestAccessBlock.php in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php
TestHelpTopicPlugin.php in core/modules/help/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php
ThemeRegistry.php in core/lib/Drupal/Core/Utility/ThemeRegistry.php
Tid.php in core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php
Time.php in core/modules/views/src/Plugin/views/cache/Time.php
ToolbarCacheContextsTest.php in core/modules/toolbar/tests/src/Functional/ToolbarCacheContextsTest.php
TourViewBuilder.php in core/modules/tour/src/TourViewBuilder.php
TrackerTest.php in core/modules/tracker/tests/src/Functional/TrackerTest.php
UninstallTest.php in core/modules/system/tests/src/Functional/Module/UninstallTest.php
UrlGeneratorTest.php in core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
UrlTest.php in core/modules/system/tests/src/Kernel/Common/UrlTest.php
User.php in core/modules/user/src/Plugin/views/argument_default/User.php
UserEditTest.php in core/modules/user/tests/src/Functional/UserEditTest.php
UserRolesAccessPolicyTest.php in core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php
UserTest.php in core/modules/jsonapi/tests/src/Functional/UserTest.php
View.php in core/modules/views/src/Entity/View.php
views.api.php in core/modules/views/views.api.php
Describes hooks and plugins provided by the Views module.
ViewsData.php in core/modules/views/src/ViewsData.php
ViewsExposedFilterBlock.php in core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php
WorkspaceRepository.php in core/modules/workspaces/src/WorkspaceRepository.php
WorkspacesHooks.php in core/modules/workspaces/src/Hook/WorkspacesHooks.php

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