Here, i paste code to remove the cache from the magento. Magento can provide a options to us to remove cache form the admin configuration, but sometimes it not more helpful to us. So expert suggest to remove cache folder..
make one cache-clear.php file into your root folder and paste following code:
<?php
require_once (“app/Mage.php”);
umask(0);
Mage::run();
Mage::app()->getCache()->clean();
exit(“done”);
?>
can call that file with :http://yourdomainname/cache-clear.php
hope this helps 🙂
make one cache-clear.php file into your root folder and paste following code:
<?php
require_once (“app/Mage.php”);
umask(0);
Mage::run();
Mage::app()->getCache()->clean();
exit(“done”);
?>
can call that file with :http://yourdomainname/cache-clear.php
hope this helps 🙂
(Visited 67 times, 1 visits today)