Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 314096

Follow-up for #2481453: ensure the 'url.query_args': MainContentViewSubscriber::WRAPPER_FORMAT cache context is set

$
0
0

Problem/Motivation

Since #2481453: Implement query parameter based content negotiation as alternative to extensions, any controller returning a render array may be rendered in multiple wrapper formats.

This means that the response for the controller varies by the 'url.query_args:' . MainContentViewSubscriber::WRAPPER_FORMAT cache context.

Proposed resolution

Ensure that the 'url.query_args:' . MainContentViewSubscriber::WRAPPER_FORMAT cache context is present for any response that is rendered by MainContentViewSubscriber, because MainContentViewSubscriber renders it in a different wrapper format depending on that URL query argument.

Remaining tasks

Review.

User interface changes

None.

API changes

None.

Data model changes

None.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue categoryBug because this breaks cacheability of responses.
Issue priorityMajor because it blocks significant other issues.
Prioritized changesThe main goal of this issue is performance/cacheability.
DisruptionZero disruption.

Viewing all articles
Browse latest Browse all 314096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>