0

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 1

0

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/* 
4
  • Actually i wanted it delete it from admin, just like other cache. Commented Jul 10, 2020 at 11:13
  • i get the tag in controller, but it does not delete it. Commented Jul 10, 2020 at 11:13
  • wait then let me try it on magento 1.9 instance and i will post and ans here Commented Jul 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. Commented Jul 10, 2020 at 11:25

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.