Project

General

Profile

Actions

Task #98659

closed

More effective FE TypoScript cache layer

Added by Christian Kuhn over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-10-19
Due date:
% Done:

100%

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

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #97816: New TypoScript parserClosed2022-06-27

Actions
Related to TYPO3 Core - Bug #99417: No way to get frontend.typoscript (TypoScript setup) in Middleware when page was cachedResolved2022-12-23

Actions
Actions #1

Updated by Gerrit Code Review over 1 year ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Christian Kuhn over 1 year ago

  • Status changed from Under Review to New

FE TS test scenario #98659

To test FE TS performance, we use the bootstrap_package since
it comes with quite some TypoScript to parse. But we disable
all content element rendering, so we measure the FE bootstrap,
plus TS, plus a single simple content element.

system:
AMD Ryzen 7 5800X
local ssd, local mariadb
php 8.1 without xdebug (!)

setup:
current v11 / v12 core with "composer install --optimize-autoloader"
current boostrap_package
loaded extensions: backend, belog, beuser, bootstrap_package, core, extbase, extensionmanager, filelist, filemetadata, fluid, fluid_styled_content, frontend, info, install, lowlevel, recordlist (v11), rte_ckeditor, seo, setup, t3editor, tstemplate

page tree:

Congratulations
  - TS test (has TS "ext" template)
    - warmup and full cached
    - second page using TS cache
    - user_ints
      - user_int 1
      - user_int 2

TS template on "TS test page":

page >
page = PAGE
page.10 = TEXT
page.10.value = cached cObj

[22044 in tree.rootLineIds] # This is the pid of page "user_ints" 
  page.10 >
  page.10 = USER_INT
  page.10.userFunc = TYPO3\CMS\Frontend\Tests\Functional\Controller\TypoScriptFrontendControllerTest->userIntCallback
[end]

test scenario:

times measured with blackfire one call only, repeat everything three times, no backend user logged in (!)

bin/typo3 cache:flush
bin/typo3 cache:warmup
1) call "warmup and full cached": call on empty caches, create TS main caches, creates page cache
2) call "warmup and full cached": deliver page fully cached
3) call "second page using TS cache": TS cache use with TS from "warmup and full cached" page
4) call "user_int 1": different condition combination triggers new TS cache entries
5) call "user_int 1": page cache use, user_int is triggered with cached TS
6) call "user_int 2": TS cache use with TS from "user_int 1" page

v11 #1 v11 #2 v11 #3 v12 #1 v12 #2 v12 #3
-- ------ ------ ------ ------ ------ ------
1) 159ms 156ms 149ms 209ms 211ms 208ms
2) 16.3ms 16.1ms 16.4ms 19.2ms 22.1ms 20.4ms
3) 103ms 100ms 97.3ms 53.2ms 50.2ms 49.6ms
4) 130ms 130ms 131ms 92ms 84ms 93.6ms
5) 77.2ms 84.1ms 78ms 22.8ms 23.1ms 23.7ms
6) 97.6ms 98.4ms 97.3ms 49.8ms 49.5ms 53ms
Actions #3

Updated by Christian Kuhn over 1 year ago

  • Status changed from New to Under Review
Actions #4

Updated by Gerrit Code Review over 1 year ago

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

Actions #5

Updated by Gerrit Code Review over 1 year ago

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

Actions #6

Updated by Gerrit Code Review over 1 year ago

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

Actions #7

Updated by Gerrit Code Review over 1 year ago

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

Actions #8

Updated by Gerrit Code Review over 1 year ago

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

Actions #9

Updated by Gerrit Code Review over 1 year ago

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

Actions #10

Updated by Christian Kuhn over 1 year ago

Actions #11

Updated by Gerrit Code Review over 1 year ago

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

Actions #12

Updated by Gerrit Code Review over 1 year ago

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

Actions #13

Updated by Gerrit Code Review over 1 year ago

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

Actions #14

Updated by Gerrit Code Review over 1 year ago

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

Actions #15

Updated by Gerrit Code Review over 1 year ago

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

Actions #16

Updated by Gerrit Code Review over 1 year ago

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

Actions #17

Updated by Christian Kuhn over 1 year ago

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

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions #19

Updated by Christian Kuhn over 1 year ago

  • Related to Bug #99417: No way to get frontend.typoscript (TypoScript setup) in Middleware when page was cached added
Actions

Also available in: Atom PDF