New Features

Release date : Friday, March 26, 2010
C1 version: Composite C1 1.2 SP4 Patch 6 (1.2.3737.35907)...
Description : A new function Composite.Utils.Caching.PageObjectCache have been added to the C1 std. function library. The function will allow a developer or user to cache parts of a webpage rendering in order to reuse the rendering result across multiple requests. The function can wrap a single function call or a section of xhtml containing multiple function calls. When caching the embedded function calls will not be executed. Use this function to improve performance on sites where full page caching is not an option or common functionality (like top bars, news teasers etc.) are shared across many pages.

Sample function call:
  <f:function name="Composite.Utils.Caching.PageObjectCache" xmlns:f="http://www.composite.net/ns/function/1.0">
   <f:param name="ObjectToCache">
    <h1>This is cached! <f:function name="Composite.Utils.Date.Now" /></h1>
   </f:param>
   <f:param name="ObjectCacheId" value="Cached timer 01 unique id" />
   <f:param name="PageAssociationScope" value="Level1Page" />
   <f:param name="SecondsToCache" value="3" />
  </f:function>

New Features