Issue Task Closed

#81020[Root line] Remove the feature to preload relations from the root line

Elmar Hinz 04/26/17, 10:56 updated 02/10/18, 23:14

Description

Remove the feature to preload relations from the root line

Issue

The method RootlineUtility:enrichWithRelationFields() preloads relations for each page.

This causes a bunch of additional DB queries per page request.

Discussion

  • The feature is rarely used while the costs are rather high.
  • There are several comments on unclean implementation.
  • No unit tests are breaking if the feature is removed.
  • The official introduction package keeps working, if the feature is removed.

Alternatives

  • Load the information on demand.
  • Think of an intelligent design of page record objects, that enable loading on demand or by configuration.

Reviews 1