I'm having a problem disabling caching for a specific block in the header. It is strange because this works on every other page except on the homepage.
The code in the local.xml:
<block type="core/template" name="store.country" as="storeCountry" template="page/html/country.phtml">
<action method="setCacheLifetime"><s>0</s></action>
</block>
I also tried adding the code to the layout update xml field in the backend for the home page, like this:
<reference name="storeCountry"><action method="setCacheLifetime"><s>0</s></action></reference>
But just don't want to work, the whole content is cached on the homepage and I can't figure it out why, any ideas?
Even if I change the store view, the home page will stay the same language.