Possibility to override high-cardinality contexts for dynamic page cache only

Created on 9 July 2020, over 4 years ago
Updated 31 January 2023, almost 2 years ago

I have a block with url.query_args context, I want to create a placeholder for such blocks to avoid rebuilding the whole layout when query args changed. For that, I can add this context to auto_placeholder_conditions.

But in some cases, I have elements, which couldn't be replaced by a placeholder and dynamic page cache set UNCACHEABLE for the whole page.
I want to have possibility to define another list of contexts in auto_placeholder_conditions to cache page with url.query_args context.

✨ Feature request
Status

Needs work

Version

9.5

Component
Dynamic page cacheΒ  β†’

Last updated about 2 months ago

Created by

πŸ‡·πŸ‡ΊRussia kiseleva.t

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request β†’ as a guide.

    Thanks for working on this! Could also use a test case that will show this feature in action

Production build 0.71.5 2024