Bug #87766

Do not instantiate DocumentTemplate at every BE call

Added by Benni Mack 3 months ago. Updated 20 days ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend API
Start date:
2019-02-21
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Associated revisions

Revision a0dc71cf (diff)
Added by Benni Mack 3 months ago

[TASK] Do not instantiate DocumentTemplate at every BE call

Currently, document template and thus, pagerenderer is initialized
with all functionality and loaded CSS for every BE call,
which is unnecessary for simple JSON-based AJAX calls.

In order to avoid this, PageRenderer is now instantiated only
when needed - when ModuleTemplate or DocumentTemplate
are initialized, resulting in higher performance for AJAX calls
but also removing a necessary means for having DocumentTemplate
set up at all BE requests, reducing the need for DocTemplate
even more, so it can slowly be migrated to ModuleTemplate
in the future.

Resolves: #87766
Releases: master
Change-Id: Ic1549be7f4d62164bf99cb496fad4b96dee2bc7d
Reviewed-on: https://review.typo3.org/c/59781
Tested-by: TYPO3com <>
Tested-by: Georg Ringer <>
Tested-by: Susanne Moog <>
Tested-by: Anja Leichsenring <>
Reviewed-by: Georg Ringer <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Anja Leichsenring <>

History

#1 Updated by Gerrit Code Review 3 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59781

#2 Updated by Gerrit Code Review 3 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59781

#3 Updated by Benni Mack 3 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#4 Updated by Benni Mack 20 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF