RepoHooks::onLinkBegin currently loads the full entity in order to get the label to use as the link text for links to item pages. This is very slow, we should use the term index. However, therm index access would need to be cached, otherwise the overall effect on performance might actually be negative.
Version: unspecified
Severity: normal
Whiteboard: u=dev c=backend p=0