- πΊπΈUnited States smustgrave
Following how core handles PNMI this has been in PNMI for 2 years without a follow up.
While using the taxonomy facet hierarchy plugin with large vocabularies, building facets generates a huge amount of database queries. The thing is that \Drupal\taxonomy\TermStorage::loadChildren()
generates at least one request per call and is never cached.
Do not rely on \Drupal\taxonomy\TermStorage::loadChildren()
to build the hierarchy but on \Drupal\taxonomy\TermStorage::loadTree()
instead.
Closed: outdated
1.0
Code
It affects performance. It is often combined with the Needs profiling tag.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Following how core handles PNMI this has been in PNMI for 2 years without a follow up.