Summary Cache

The Summary Cache inherits from TotalCache and therefore is described more in the Total Caches page.  Essentially for all the content types it covers, it stores the container for that type with any data fields not required for generating a summary stripped out to save space.  This enables a very large number of content items to be cached in a small space, so that cross content item lists and references can be fetched.

Configuring the summary cache

The summary cache can have the ApplyToType property set which is a function from Type to bool where the type is a container type and the result is true if this container type is cached.

Efficient routing with the summary cache

You can set the DataRoute type to test for the existence of a content item by trying to get it from the summary cache.  Set Lynicon.Routing.DataRoute.TypeCheckExistenceBySummary to true to make this happen.