1

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.

1 Answer 1

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:

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.