2

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

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);
| improve this answer | |
  • 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. – Hamendra Sunthwal Jul 10 at 7:51
  • did you created a cache tag?? – Chikku Jul 10 at 7:58
  • Yes, i have created a cache tag – Hamendra Sunthwal Jul 10 at 8:20
1

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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