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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -