0

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?

0

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

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

or

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

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 Mar 14 '18 at 12:59
  • you can do it in local.xml – Rita Jose Mar 15 '18 at 3:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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