aligent / cacheobserver
此包已被弃用且不再维护。未建议替代包。
Magento 扩展,用于为默认不缓存的块添加缓存键和标签。
1.1.0
2016-06-22 00:26 UTC
Requires
Requires (Dev)
- composer/composer: ~1.0@dev
- ecomdev/mage-ci: dev-master
- phing/phing: ~2.11@dev
- phpunit/phpunit: 4.1.x-dev
- punkstar/mageqa: dev-aligent
- dev-master
- 2.0.x-dev
- 1.1.0
- 1.0.2
- 1.0.2a
- 1.0.1
- 1.0.0
- dev-release/1.0.1
- dev-feature/unit_tests
- dev-develop
- dev-improvement/disable-block-cache-search-result
- dev-feature/group-product-display
- dev-models
- dev-feature/form_key
- dev-remove-crosssell-caching
- dev-bugfix/template_in_product_block
- dev-review_list_pagination_fix
- dev-enterprise-targetrule-item-fix
This package is not auto-updated.
Last update: 2021-06-24 20:32:34 UTC
README
Aligent CacheObserver 扩展
Magento 扩展,用于为默认不缓存的块添加缓存键和标签。
事实
- 版本:2.0.0
- 扩展键:Aligent_CacheObserver
- GitHub 上的扩展
描述
Magento 扩展,用于为默认不缓存的块添加缓存键和标签。
用法
在模块的 config.xml 中使用以下内容添加自定义缓存观察器处理器。有关更多信息,请参阅 CacheObserver 的 config.xml。注意:如果需要,您可以使用 CacheObserver 的模型和方法来缓存自己的块。
<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>
要求
- PHP >= 5.2.0
- Mage_Core
- ...
兼容性
- Magento >= 1.4
安装说明
- 通过 composer 安装扩展的 ~2.0.0 版本。
卸载
- 通过 composer 删除扩展。
支持
如果您对此扩展有任何问题,请在 GitHub 上提交问题。
开发者
Luke Mills http://www.aligent.com.au
许可证
OSL-3.0
版权
(c) 2015 Aligent