Add a settings cache context

Created on 1 July 2024, 7 months ago
Updated 13 September 2024, 5 months ago

Problem/Motivation

Some things are uncacheable because they depend on settings. For example, \Drupal\update\Access\UpdateManagerAccessCheck::access. This leads to issues like ๐Ÿ› Admin Toolbar Tools breaks Dynamic Page Cache on Drupal 10.3 when update module is enabled Active .

Steps to reproduce

Proposed resolution

Add a SettingsCacheContext

Remaining tasks

Test coverage

User interface changes

API changes

Data model changes

Release notes snippet

โœจ Feature request
Status

Needs review

Version

11.0 ๐Ÿ”ฅ

Component
Cacheย  โ†’

Last updated 43 minutes ago

Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia mstrelan

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024