Project

General

Profile

Actions

Task #81020

closed

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

Added by Elmar Hinz about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-04-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.
Actions

Also available in: Atom PDF