Closed (fixed)
Project:
Component variants
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Feb 2026 at 14:59 UTC
Updated:
27 Feb 2026 at 08:39 UTC
Jump to comment: Most recent
Currently a list tag is used to invalidate all component cache. We should use the component plugin manager find() method and invalidate based on component variant plugin ID tag instead.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
nickolajReplaced the broad `component_variant_list` cache tag with a specific `component_variant:{component_id}` tag, so only the affected component's cache is invalidated when a variant is saved.
Comment #6
graber commentedLooks good, thanks!