2

I wonder if you have any way to clear caches Magento Web Service. If not there how do I clear the cache programmatically ?

I need it just for the reason to be developing an application that integrates with Magento Management System, and has some processes that demands he be clean caches.

2 Answers 2

4

Take a look @ https://stackoverflow.com/questions/8701456/clear-magento-cache programmatically

Mage::app()->cleanCache(); 
1
  • Ok Thank you, have worked the first time, I can test more thoroughly just another afternoon. I appreciate the help Commented Jul 26, 2013 at 17:56
2

This code will help for sure

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.