0

I'm on Magento 1.9.2.2 and getting the static block bug. As a work around I disable the blocks html cache, the problem goes away.

But every day something goes in and the block html cache gets invalidated and the bug reappears. I then have to disable the block html again, and the next day again, and the next day again.

I'm no programmer. How do I disable the cache permanently so it doesn't refresh and go into invalidate state?

I just want this bug to go a way so people can use my site.

Robert
  • 1
  • 1

1 Answers1

-1

You need to search for this block in your theme XMLs and then

set Cache Lifetime to 1 second

for exemple (0 or null is not allowed):

<block type="core/template" name="my_block" template="class/block.phtml">
    <action method="setCacheLifetime"><lifetime>1</lifetime></action>
</block>
Manoj Deswal
  • 5,785
  • 25
  • 27
  • 50
Jonathan Ribas
  • 1,090
  • 7
  • 12