I am trying to clear custom created cache from Admin, but it does not work. is their any way to make it work ?
1 Answer
Login to your server and run the below command from your magento root directory:
php -r 'require "app/Mage.php"; Mage::app()->getCacheInstance()->flush();'
or you can do it in the following way:-
$rm -rf var/cache/*
$rm -rf var/session/*
-
Actually i wanted it delete it from admin, just like other cache. Jul 10, 2020 at 11:13
-
-
wait then let me try it on magento 1.9 instance and i will post and ans here– PramodJul 10, 2020 at 11:14
-
Actually i had used event to clear cache & that works but i want custom cache to be cleaned just like other cache's are getting cleaned from cache management. Jul 10, 2020 at 11:25