I am writing a module that uses some custom caching mechanism and i would like for my caching to be clearable from in the admin area along with the core Magento caching.
Also I would like to check if the caching is enabled for my module only and then choose to do caching or not based on this.
I am sure this is possible but do not know how.
Magento makes this very easy for you, essentially just a few lines of code in your modules global config…
The logic for checking if your cache is active or not would be along the lines of the following…