Lazy-load configuration

Created on 15 May 2024, 5 months ago

Problem/Motivation

Currently the module configuration is loaded when instantiating the PageCacheIgnore class, which means the config storage (usually the DB) is looked up on every single request. This may also be problematic when bootstrapping Drupal if, for any reason, the database is not available.

Proposed resolution

Lazy load configuration data via the config factory.

📌 Task
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇹Italy plach Venezia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024