Opt into static_cache for component config entities

Created on 6 August 2025, 2 days ago

Overview

While profiling I found 243 calls to ConfigEntityVersionReference::getTarget and a lot of hits to CachedStorage for config for the same config entities. By default config entities opt out of static caching. I'm not sure why. But roles and language_content_settings opt-in.

I think XB could see a performance improvement if component entities used static caching.

Proposed resolution

Add static_cache: TRUE, to Component entity definition.

User interface changes

✨ Feature request
Status

Active

Version

1.0

Component

… to be triaged

Created by

🇺🇸United States mglaman WI, USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024