[TYPO3-performance] Typoscript with conditions or ext template on page

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Dec 15 18:49:43 CET 2009

Mathias Schreiber [wmdb >] schrieb:
> Michiel Roos [netcreators] schrieb:
>> We use constants instead of PIDs.
>> On the template in the site root we have the constants:
>> newsPage       = 1
>> newsSinglePage = 2
>> someOtherPage  = 3
>> And then in the ext templates we use those constants in the conditions.
>> We don't like spreading templates across the whole tree.
> Just curious... how to TS constants in ext.Templates render faster than
> TS in ext.Templates?
> Didn't find any hints in the code so far...

I think it is not about speed but about maintainability. The speed
difference is probably in the range of "microseconds", which won't
probably affect overall performance.


More information about the TYPO3-performance mailing list