Back to Top

Magento Clean Cache through PHP

Updated 10 October 2012

Magento Clean Cache through PHP : Code  for cleaning the magento cache via php is as follows

$app = Mage::app();
if ($app != null) {
$cache = $app->getCache();
if ($cache != null)
{ 
$cache->clean(); 
}
}

 

 

Searching for an experienced
Magento Company ?
Find out More
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home