caching - Disabling cache for Magento Block in APC -
i'm using magento ce v.1.9.0, apc cache installed. need disable cache block output, but, unfortunately, standart solution isn't working me:
$this->adddata(array( 'cache_lifetime' => 0, 'cache_key' => mage::registry('current_product')->getid() . '_testcache', ));
block still being cached. advices, how can this, without implementing sick ajax solutions? thank you.
you try disabling via 1 of layout xmls.
<reference name="block_name"> <action method="unsetdata"><key>cache_lifetime</key></action> </reference>
Comments
Post a Comment