[TYPO3-dev] typolink generation high parsetime

Steffen Kamper steffen at sk-typo3.de
Fri Oct 26 09:58:08 CEST 2007


"Popy" <popy.dev at gmail.com> schrieb im Newsbeitrag 
news:mailman.3454.1193336329.20721.typo3-dev at lists.netfielders.de...
> 2007/10/25, Steffen Kamper <steffen at sk-typo3.de>:
>
>> but still better than 400 single queries.
>> What is big, array of 500(0) integers?
>
> The query wich will return 500 integers (or more...)
> I really think that asking only if needed is better, so, if you build 
> links
> pointing to 5 different pages, your cache array will have only 5 entries,
> with only 5 littles queries...

I don't see this as great progress, as we talk about temporary "cache" for 
one page generation.
If 500 links are links to 500 pages, nothing is won, still 500 (*3) queries.
If we have the array of integers, it's one! query.

>
> By the way, if the function t3lib_pageSelect::getPage has a cache, it will
> reduce the number of performed queries for typolinks, rootlines, pid 
> lists,
> menus, etc...

this is another point ;-)

vg  Steffen






More information about the TYPO3-dev mailing list