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?

3
  • remove it from Blocks HTML output cache Commented Mar 14, 2018 at 12:44
  • @Adrian, my mistake i have deleted my comment Commented Mar 14, 2018 at 13:28
  • magento.stackexchange.com/questions/3124/…, this list all possible ways to fix the issue. Commented Mar 14, 2018 at 13:31

1 Answer 1

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

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.