[TYPO3-core] RFC: Feature #6601 Speed up link rendering by implementing some local caches

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Feb 27 22:15:30 CET 2008


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_6601-2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080227/8faeacaa/attachment-0001.txt 


More information about the TYPO3-team-core mailing list