Actions
Bug #20631
closedtypoLink() perfomance
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
Actions