old blog,

plone.app.caching and archetype.fieldtraverser

Izhar Firdaus Izhar Firdaus Follow Support Apr 10, 2012 · 1 min read
plone.app.caching and archetype.fieldtraverser
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
plone.app.caching doesnt seem to support archetype.fieldtraverser's ++atfield+FieldName urls. Here's a quick hack to make it cacheable.

Add this into your configure.zcml:

<configure 
...
xmlns:cache="http://namespaces.zope.org/cache"
...
/>
...
<cache:ruleset
for="archetypes.fieldtraverser.fieldtraverser.FieldContentView"
ruleset="plone.content.itemView"
/>
...

</configure>

Thats it. It should be following the contentItem caching rule settings afterward.
Written by Izhar Firdaus Follow Support
I'm a system architect, data engineer and developer advocate with passion in Free / Open Source software, entrepreneurship, community building, education and martial art. I take enjoyment in bridging and bringing together different FOSS technologies to help businesses and organizations utilize IT infrastructure to aid and optimize their business and organizational process.

FUDCon APAC: KL 2012 : Pre-registration & funding request is now open

Location: UCTI-APIIT, Bukit Jalil, Kuala LumpurDate: 18-20th May 2012Wiki: http://fedoraproject.org/wiki/FUDCon:KualaLumpur_2012 ...

In old blog, Mar 09, 2012

« Previous Post

Going to FUDCon KL 2012

Or more like .. i'm organizing it :P ...22 days more to go ~~- Izhar Firdaus -

In old blog, Apr 25, 2012

Next Post »