Use APCu file cache for config schema

Created on 14 February 2024, 11 months ago
Updated 3 March 2024, 10 months ago

Problem/Motivation

Config schema use FileCache due to:

  • \Drupal\Core\Config\Schema\ConfigSchemaDiscovery uses config.storage.schema which is \Drupal\Core\Config\ExtensionInstallStorage
  • \Drupal\Core\Config\ExtensionInstallStorage extends \Drupal\Core\Config\InstallStorage which extends \Drupal\Core\Config\FileStorage
  • \Drupal\Core\Config\FileStorage has been using FileCache since #2473179: Use FileCache for config storage β†’

However the file cache in FileStorage is a memory only cache. We could use an APCu FileCache for config schema to speed up testing (a tiny amount) because schema files do not change much and are used when writing config.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
ConfigurationΒ  β†’

Last updated 3 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

    It affects performance. It is often combined with the Needs profiling tag.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024