\Drupal\views\Plugin\views\argument_default\QueryParameter should specify a more specific cache context

Created on 7 June 2015, about 10 years ago
Updated 25 July 2025, 9 days ago

Problem/Motivation

Follow up of #2381277: Make Views use render caching and remove Views' own "output caching" β†’

+++ b/core/modules/views/src/Plugin/views/argument_default/QueryParameter.php
@@ -95,7 +95,7 @@ public function isCacheable() {
+ return ['url.query_args.' . $this->options['query_param']];
'url.query_args.' -> 'url.query_args:'

Proposed resolution

Remaining tasks

User interface changes

API changes

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->
πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component

views.module

Created by

πŸ‡©πŸ‡ͺGermany dawehner

Live updates comments and jobs are added and updated live.
  • VDC

    Related to the Views in Drupal Core initiative.

  • 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.

Production build 0.71.5 2024