Project

General

Profile

Actions

Bug #20608

closed

Backport treelist caching from TYPO3 4.3 to TYPO3 4.2.6

Added by Rupert Germann over 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2009-06-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Problem:
function getTreeList() in class tslib_content can be some of the most expensive functions when rendering pages showing plugins that use huge pidlists.

Solution:
Backport the treelist caching from TYPO3 4.3 to TYPO3 4.2.6

I did some benchmarks with a worst case scenario: complete pagetree is used as pidlist (~1000 pages). All pages did show a plugin using this pidlist and rendered as User_int.
Don't laugh ;-) I saw this quite often on realworld servers.

In these tests caching of the treelist resulted in 3 times more pages rendered in the same time (+ 200%)

(issue imported from #M11317)


Files

11317.diff (2.67 KB) 11317.diff Administrator Admin, 2009-06-19 18:40
Actions #1

Updated by Rupert Germann over 15 years ago

I added a patch which adds a treeList cache to TYPO3 4.2
There are no DB changes needed because I use cache_hash for storing cached treelists.

Actions #2

Updated by Oliver Hader about 15 years ago

Concerning the discussion on the Core Mailinglist, this backport to TYPO3_4-2 is dropped.

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF