我正在使用 Magento 1.6.1 版。我需要以编程方式清除 Magento 缓存。
Mage::app()->getCache()->clean()
我使用了上面的代码,但它没有清除缓存。
try this
Mage::app()->cleanCache();