the user is not cached, the html output is with the view cache.
The view cache does not cache pr user, but based on user rights instead. So you'll need to disable view cache on this single page.
Search for 'cache_ttl' in the forum to find more in depth discussions on this.
Ok. I already have that in there, but it's pretty dissapointing because it means that I can't cache a rather complex template just because I want to display the name of the current user in the comments area of the node view :(
Is there something like cache-block that is valid inside a node view template? The user-dependent information is only a small part of the full page, the rest I would like cached.
If this is not possible, this will be the first time eZ is forcing me to redo my layout (as the performance is too poor without view caching), which is a shame really.
Thats the point, you disable view_cache for this template but can use cache blocks instead. Remember to keep the number of cache blocks as low as possible.
Allright. It makes perfect sense to me that you can use cache-block in node templates when view caching is disabled :) Gee, eZ never stops impressing me :) Thanks alot!
You must be logged in to post messages in this topic!