aligent/cacheobserver

This package is abandoned and no longer maintained. No replacement package was suggested.

Magento extension to add cache keys and tags to blocks that are not cached by default.

Installs: 26

Dependents: 0

Suggesters: 0

Security: 0

Stars: 59

Watchers: 47

Forks: 16

Open Issues: 3

Type:magento-module

1.1.0 2016-06-22 00:26 UTC

README

Build Status

Aligent CacheObserver Extension

Magento extension to add cache keys and tags to blocks that are not cached by default.

Facts

Description

Magento extension to add cache keys and tags to blocks that are not cached by default.

Usage

Add custom cache observer handlers using the following in your module's config.xml. See CacheObserver's config.xml for further details. Note: If you may use the CacheObserver's model/methods for caching your own blocks if required.

<config>
    <cacheObserver>
        <!--
            The observer id should be a unique key. Note that all observers will be sorted alphabetically by the
            observer key.
            You may make use of Magento's config.xml merging to overwrite another module's configs if needed.
        -->
        <module_name_observer_id>
            <!--
                `model` is a standard model alias to tell the model
            -->
            <model>module_name/model</model>
            <method>myCustomCacheObserverMethod</method>
            <classes>
                <!-- A list of classes to
                <Some_Module_Block_To_Cache/>
            </classes>
        </module_name_observ_id>
    </cacheObserver>
</config>

Requirements

  • PHP >= 5.2.0
  • Mage_Core
  • ...

Compatibility

  • Magento >= 1.4

Installation Instructions

  1. Install version ~2.0.0 of the extension via composer.

Uninstallation

  1. Remove the extension via composer.

Support

If you have any issues with this extension, open an issue on GitHub.

Developer

Luke Mills http://www.aligent.com.au

Licence

OSL-3.0

Copyright

(c) 2015 Aligent