I have created a custom cache using script. cache is created successfully, i can get it too.

Added cache field for custom cache in cache management.

How to clear that cache custom cache from cache management Magento 1.

2 Answers 2


If we want to clear our example_id cache, we can either do it simply from the admin panel in Cache Storage Management and then refresh “Blocks HTML output” or do it programmatically using remove($cacheId) or clean(array($cacheTag)).

  • Thanks for the answer, i am not sure where i can place the above code ? I have added a cache field in cache management to refresh only this cache. Its not working right now, so i need something that can clear it. Jul 10, 2020 at 7:51
  • did you created a cache tag??
    – Pramod
    Jul 10, 2020 at 7:58
  • Yes, i have created a cache tag Jul 10, 2020 at 8:20

Check this article it might help you http://www.jyotiranjan.in/blog/refresh-magento-cache-programmatically/

Your Answer

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

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