Add a settings cache context

Created on 1 July 2024, 2 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 work

Version

11.0 🔥

Component
Cache 

Last updated 1 day 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