Custom Cache Type Definition

Updated . Posted . Visible to the public.

Adding this XML will cause an additional entry to appear in the Magento Cache Management screen.

<global>
    <cache>
        <types>
             <your_cache_type module="your_module" translate="label description">
                <label>Your Custom Cache Label</label>
                <description>Description of cache type.</description>
                <tags>YOUR_CACHE_TAG</tags>
             </your_cache_type>
        </types>
    </cache>
</global>

Mike Whitby
Last edit
Posted by Mike Whitby to Magento (2012-08-20 11:32)