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 ?


1 Answer 1


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:

  • I have removed the default block and loaded it using ajax after the page load so it seems solved the issue , but still there is a small delay of initiating the ajax, So I will also try your method :) Commented Nov 13, 2015 at 4:20
  • 1
    Cool, glad to hear. Normally this block should be automatically hole punched for you with the lestiFPC module.
    – B00MER
    Commented Nov 13, 2015 at 6:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.