1

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.

1 Answer 1

1

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)).

Mage::app()->removeCache($id); 
3
  • 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. Commented Jul 10, 2020 at 7:51
  • did you created a cache tag?? Commented Jul 10, 2020 at 7:58
  • Yes, i have created a cache tag Commented Jul 10, 2020 at 8:20

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.