[TYPO3-core] RFC: Feature #6601 Speed up link rendering by implementing some local caches
Benjamin Mack
mack at xnos.org
Wed Feb 27 22:30:28 CET 2008
Hey Masi,
awesome! I searched quite some time for that phenomenon! This just made
my day! Thanks a bunch!
Martin Kutschker wrote:
> Martin Kutschker schrieb:
>> This is a patch request fro trunk.
>>
>> Problem: tslib_content::typolink uses some functions of
>> t3lib_pageSelect (via tslib_fe) that are likly to be called with the
>> same arguments during the rendering of a single page. These functions
>> make SQL queries which is a waste of the DB servers resources.
>>
>> Solution: cache the result of those functions locally.
>>
>> Bug reference: http://bugs.typo3.org/view.php?id=6601
>
> Another issue has been found by Benjamin Mack. Menus with mount points
> didn't work when mount point substituition wasn't set (MPvar became x-
> instead of x-y).
>
> The problem was that an internal recursion brake argument was used as
> part of the cache key.
>
> Again, I have committed the fix.
>
> Masi
More information about the TYPO3-team-core
mailing list