Magento 1.9 – Fixing Login Issues with Full Page Cache

customer-sessionfull-page-cachemagento-1.9

I have a block on the header with welcome message and user name to show only if a user logged in . I'm using lesti fpc extension when fpc enabled and logged into a customer account and go back to home page but message block on the header is not showing as I'm logged in. but in some inner pages and it will also disappear if I refresh a page several times .

How can I solve this issue? do I have hole punch this block if yes how to do it as it involve sessions ?

Best Answer

Install Aoe_TemplateHints and utilize it to identify the block names and the cache status. After this you can specify in the configuration of the Lesti_FPC module to not cache the block in question.

More than likely the welcome block differs from the name that is standard welcome put the new block name in the lazy blocks area of the configuration in the admin:

How Lesti_FPC works:

Related Topic