1
votes

I read somewhere that if you build for example menu in TYPO3 you should use temp instead of lib (for performance reason). It is strange, but in all fluid tutorials everyone use lib for building menu.

Is it normal or maybe in fluid we should use lib?

1
I see that you read that : blog.sebastiaandejonge.com/articles/2010/september/16/… But this one is a good complement for the difference between "reference" and "assign" : docs.typo3.org/typo3cms/TyposcriptSyntaxReference/Syntax/…Lynxi

1 Answers

2
votes

temp is temporary - it's not cached... you can't even reference it any way...

lib opposite is stable so it's cached and you can use a references like lib.foo < lib.bar in TS

In very general, if your site is cached properly lib is more useful than temp.