按快取 ID 清除快取

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

重新整理所有 Magento 快取條目

Mage::app()->cleanCache()

要麼:

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