I think there is a bug in ezpublish 4.0.0 with this (http://issues.ez.no/IssueView.php?Id=12386&activeItem=3). Try to update to 4.0.1, or get the last kernel/classes/datatypes/ezimage/ezimagealiashandler.php
If you disable content view caching, then you should use the cache-block template function. There are parameters (subtree_expiry and keys for example) that would be interesting to use : http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_functions/miscellaneous/cache_block
Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] com
Of course, but that will never be as fast as taking advantage of the view cache system.
We did some benchmarks recently and got something like:
~130 request/sec with view cache
~90 request/sec with view cache disabled and all but the line disabling the view cache inside a cache block ~32 request/sec with view disabled and no cache block in the node template
Pagelayout was tweaked so only a few lines where outside the two 'root' cache blocks (one for header and one for footer). The numbers where using eZ Publish trunk (4.1, 4.0.1 was about ~8% behind) on a quad-core Xeon 2.5GHz.