Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Clear a Cache in Magento Programmatically
 
pradeep_kumar67
Sr. Member
 
Avatar
Total Posts:  160
Joined:  2010-06-24
Bangalore
 

Hi,

if you need to clear a cache Programmatically in magneto use this code

Mage::app()->cleanCache();

i attached a file place it in root folder and run in browser

File Attachments
clearcache.php  (File Size: 1KB - Downloads: 451)
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top