Use APCu file cache for config schema

Created on 14 February 2024, 8 months ago
Updated 3 March 2024, 8 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 1 day 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