Needs review
Project:
Drupal core
Version:
main
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2026 at 12:28 UTC
Updated:
21 Oct 2026 at 10:15 UTC
Jump to comment: Most recent
Comments
Comment #2
leandro713 commentedI’d like to work on clarifying the Views cache plugin behavior in CachePluginBase documentation.
Comment #3
joachim commentedComment #5
leandro713 commentedClarified the Views cache documentation to distinguish result-cache expiration from the rendered view’s max-age. Also clarified cache-tag usage and the currently supported cache type. The relevant tests, PHP syntax check and PHPCS pass.
Comment #6
ishfaqafridi85 commentedOne small clarification:
Time::getDefaultCacheMaxAge()also usescacheSetMaxAge('output'). Please make the new comment specific tocacheSetMaxAge('results').disclosure: tested with the help of an LLM.
Comment #7
leandro713 commentedI’ve identified the issue in the comment for
cacheSetMaxAge():it describes the behaviour too broadly, even thoughgetDefaultCacheMaxAge()also callscacheSetMaxAge('output'), which affects the rendered view’s max-age. I’ll update the documentation to make clear that the statement applies specifically tocacheSetMaxAge('results').Comment #8
leandro713 commented