Project

General

Profile

Actions

Bug #20631

closed

typoLink() perfomance

Added by Vladimir Podkovanov over 15 years ago. Updated over 14 years ago.

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

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

1) typolink uses >getPage_noCheck() to check out if page's id exists. ->getPage_noCheck() do then DB request but result is not stored, so if some page contains 50 links to some other page (that is pretty common if the links goes to some plugin) then DB gets 50 same requests to check out if the id exists. Solution: to cache results inside $TSFE>sys_page in internal var cache_getPage_noCheck

2) typolink uses >getPageIdFromAlias to get id from an alias. Same story here - result is not cached. Solution: to cache results inside $TSFE>sys_page in internal var cache_getPageIdFromAlias

(issue imported from #M11358)


Files

bug11358.diff (2.08 KB) bug11358.diff Administrator Admin, 2009-06-19 10:39
T3X_test_11354--z-200906191321.t3x (468 Bytes) T3X_test_11354--z-200906191321.t3x Administrator Admin, 2009-06-19 11:23
bug11358_1.diff (2.35 KB) bug11358_1.diff Administrator Admin, 2009-06-20 14:16
Actions

Also available in: Atom PDF