Good point. I didn't realize that. In my theme I use this:
<a href="{$link->getPageLink('my-account', true)|escape:'html'}">{if $logged}{$customerName}{else}Mein Konto{/if}</a>
It has similair problems...
Is there a way to prevent some specific smarty variables from caching?