Hi, I created an add-on that define a rulesetType. Configure.zcml of the cache add-on:
<configure xmlns="http://namespaces.zope.org/zope" xmlns:browser="http://namespaces.zope.org/browser" xmlns:plone="http://namespaces.plone.org/plone" xmlns:cache="http://namespaces.zope.org/cache" i18n_domain="ufscar.cache"> <include package="z3c.caching" file="meta.zcml" /> <cache:rulesetType name="ufscar.cache.dynamic" title="UFSCar Dynamic Pages" description="These itens must be cached for just few seconds." /> <adapter factory=".fastcache.FastCache" name="ufscar.cache.fast" /> <utility component=".fastcache.FastCache" name="ufscar.cache.fast" /> <cache:rulesetType name="ufscar.cache.nocache" title="No cache pages" description="These itens must not be cached." /> </configure>
Some views used this rulesetType. Part of the configure.zcml is here:
<cache:ruleset
for=".agenda_portlet.Renderer"
ruleset="ufscar.cache.nocache"
/>
But now I decided that I don't need this cache anymore. I deleted from the configure.zcml of the cache add-on:
<configure xmlns="http://namespaces.zope.org/zope" xmlns:browser="http://namespaces.zope.org/browser" xmlns:plone="http://namespaces.plone.org/plone" xmlns:cache="http://namespaces.zope.org/cache" i18n_domain="ufscar.cache"> <include package="z3c.caching" file="meta.zcml" /> <cache:rulesetType name="ufscar.cache.dynamic" title="UFSCar Dynamic Pages" description="These itens must be cached for just few seconds." /> <adapter factory=".fastcache.FastCache" name="ufscar.cache.fast" /> <utility component=".fastcache.FastCache" name="ufscar.cache.fast" /> </configure>
And deleted from the configure of all views. Now, I only use the dynamic.
<cache:ruleset
for=".agenda_portlet.Renderer"
ruleset="ufscar.cache.dynamic"
/>
When I access http://mysite/@@caching-controlpanel#autotoc-item-autotoc-3 "No cache pages" is still there. How can I delete?
Thanks