get all cache types
Mage::app()->getCacheInstance()->getTypes();
types
Mage::app()->getCacheInstance()->cleanType('config');
Mage::app()->getCacheInstance()->cleanType('layout');
Mage::app()->getCacheInstance()->cleanType('block_html');
Mage::app()->getCacheInstance()->cleanType('translate');
Mage::app()->getCacheInstance()->cleanType('collections');
Mage::app()->getCacheInstance()->cleanType('eav');
Mage::app()->getCacheInstance()->cleanType('config_api');
clear cache
Mage::app()->cleanCache();
Mage::app()->getCacheInstance()->cleanType('config');
Links
http://makandracards.com/magento/8277-cache-clearing-and-general-information