[TYPO3-dev] typoLink() further tuning

Vladimir Podkovanov admin at sitesfactory.ru
Wed Jul 1 17:36:41 CEST 2009


Martin Kutschker wrote:

> 
> So typolink() must only compare the link id with TSFE->id to determine
> if any checks are necessary. But... don't we have a cache for this kind
> of check already in typolink()?
> 
> Masi

Hi, yes, we have :)
anyway function calls sys_page->getPage_noCheck(), sys_page->getPage(), 
sys_page->getMountPointInfo() and checking cache there costs processing 
time and this could be visible in case of hundreds links.
And first calls invoke DB requests anyway.

-- 
-rgds-
Vladimir




More information about the TYPO3-dev mailing list