按缓存 ID 清除缓存

Mage::app()->removeCache($cacheId); 

刷新所有 Magento 缓存条目

Mage::app()->cleanCache()

要么:

Mage::app()->getCacheInstance()->flush();