i want to completely remove from cache the header-minicart. It is confused when magento cache and fpc work together.

how can i do that?


1 Answer 1


You can remove a particular block cache by using below code,

<reference name="needed block">
    <action method="setCacheLifetime"><s>0</s></action>


<reference name="needed block">
    <action method="setCacheLifetime" />

OR from backend:

goto -> admin -> dashboard -> System configuration -> cache management -> disable for block.

find find the attached screen shot:

enter image description here

  • i have done from admin, but why to be off for all? the changes is in local.xml? to another file?
    – Pantelis
    Commented Mar 14, 2018 at 12:59
  • you can do it in local.xml
    – Rita Jose
    Commented Mar 15, 2018 at 3:50

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.