Question

I'm looking for a performant already existing template-engine. On my search there was one thing that made me curious: The template-engine Smarty generates php-scripts from the templates to optimize the performance. Furthermore I looked at the template-engine fluid which is based on Typo3 and is used by the php-framework Flow3.

Now my question: Is there a way similar to the way of the Smarty-engine to preprocess fluid-templates to get more performance? Or how do systems working with fluid achieve good performance?

I hope you can help me because I found no answer (especially in the typo3-fluid-wiki). Thanks in advance!

Was it helpful?

Solution

Fluid templates are by default cached as PHP code, starting with TYPO3 4.6.

You will find all background informations on this on the blog of the developer of the caching, Sebastian Kurfürst: http://sandstorm-media.de/blog/2011/07/31/fluid-static-php-caching.html

The official announcement (if it can be called like this) is in the release notes of TYPO3 4.6.

Apart from the code of the complier, I'm not aware of any other technical background information.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top