Is it possible in Magento to allow for cache to be cleared in a custom code by using regular expression to target cache tags?
The scenario I have is I am know of a list of cache tags I will be cleaning but they will each have a different suffix on them.
 7ochem
 
 7,61516 gold badges54 silver badges82 bronze badges
 
 
 asked Dec 9, 2013 at 21:53
 
 
 
 Marty Wallace 
 
 5,64113 gold badges68 silver badges91 bronze badges
 
 1 Answer 1
If you setup your tags and keys correctly in your custom module, calling
Mage::app()->cleanCache(); 
Should do what you need, without the ugly regex.
More details:
 answered Dec 9, 2013 at 22:40
 
 
 
 B00MER 
 
 8,3072 gold badges22 silver badges49 bronze badges
 
 default