The custom ContainerFactory assigned upon instantiating the HomeBranch plugin manager disables the plugin definition caching. That leads to a performance issue - Drupal core searches for the plugins each time the plugin is requested.
On one of the websites, the Plugin Discovery during the content indexing could call the file_exists function and annotation reading 50k times for 50 indexed nodes.
Also, the cache backend doesn't need its entries to be tagged with 'node_list', because a change in nodes can't change the plugin definitions.
The custom ContainerFactory assigned upon instantiating the HomeBranch plugin manager disables the plugin definition caching. That leads to a performance issue - Drupal core searches for the plugins each time the plugin is requested.
On one of the websites, the Plugin Discovery during the content indexing could call the
file_exists
function and annotation reading 50k times for 50 indexed nodes.Also, the cache backend doesn't need its entries to be tagged with 'node_list', because a change in nodes can't change the plugin definitions.