I was presenting in a previous post " A Simple Output Cache ", in the form of a Java Servlet filter that was caching requests to DD4T pages and subsequently serve them from cache. In this post I am enhancing the output cache idea to make it more flexible. Namely, this post presents a donut cache solution that allows for caching parts of the page output. In Tridion terminology, the donut cache will allow a Tridion developer to specify at Component Presentation level which CP to cache and which not to cache. To make it even more flexible, the Page Template itself can be configured to allow being cached entirely or not. The control over what PT/CT is cached is specified in Tridion CM by making use of metadata on the respective template. As such, I defined a metadata field " cache " that I added to the CT/PT Metadata Schema. The field can have two values only, based off a predefined list -- "true" or "false". When false, it indicates the output o
talk is cheap. show me the code.