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. Jul 10, 2020 at 11:13
  • i get the tag in controller, but it does not delete it. Jul 10, 2020 at 11:13
  • wait then let me try it on magento 1.9 instance and i will post and ans here
    – Pramod
    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. Jul 10, 2020 at 11:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.