How To Save Data In Magento Cache Object

How can I store the info to the Magento cache object

You can init Magento cache object first and save data into the Magento cache object. Here is the example

$cache = Mage::app()->getCache();
$cache->save($data, $key, array($tag), $lifetime);
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments