ZCML#
The package has no GenericSetup profile and no browser layer. Its registrations are global, and take effect for every site in the process as soon as its ZCML is loaded.
overrides.zcml#
Registers collective.redismemoize.chooser.choose_cache as the plone.memoize.interfaces.ICacheChooser utility, replacing the one plone.memoize registers.
<configure xmlns="http://namespaces.zope.org/zope">
<!--
Replaces plone.memoize's own ICacheChooser. plone.autoinclude loads this
file through Products.CMFPlone's overrides.zcml; a site that disables
autoinclude includes it with includeOverrides.
-->
<utility
provides="plone.memoize.interfaces.ICacheChooser"
component=".chooser.choose_cache"
/>
</configure>
configure.zcml#
Loads plone.memoize and plone.restapi, and registers the REST API services.
Name |
Method |
For |
Permission |
|---|---|---|---|
|
|
|
|
|
|
|
|
Loading#
With plone.autoinclude, the package's plone entry point makes Plone load both files.
Without it, you must include both:
<include package="collective.redismemoize" />
<includeOverrides package="collective.redismemoize" file="overrides.zcml" />