Forums / General / Exponential performance optimisation FAQ / Comment32670
Łukasz Serwatka
Saturday 17 December 2005 10:58:35 am
Hi Denis,
This is good topic ;)
If possible use $node.children array if you need access to children or $node.parent if you need access to parent object. If you will reduce count of fetches this can give you some additional performance gain. Write proper code without notices, warnings, use deboug output for development. If you can do something on 2 same ways, check which one is faster.
For better performance, you can replace complex template code with custom operators that do the same in PHP code. For example instead of fetching whole objects for creating dropdown list use custom tpl operator which returns SQL array. Much faster ...
Use {cache-block} for optimization your pagelayout. If possible, use static cache, this will give you really good performance.
For the best performance, use Linux and MySQL.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog