Full Cache

The Full Cache inherits from TotalCache and so is described more in the Total Caches page.  Essentially for all the content types it covers, it stores the full container for that type.  It is not so space efficient but it is very speed efficient.  For guidance, this should work pretty well for up to at least 500 content items.

Configuring the full cache

.UseModule<FullCache>(Configuration.GetSection("Lynicon:Base:Cache"))

.UseModule<FullCache>(Configuration.GetSection("Lynicon:Base:Cache"), (Func<Type, bool>)(t => !(new Type[] { typeof(User) }.Contains(t))))


The full cache has the following arguments when set up:

  • An IConfigurationSection pointing to a configuration section: the default configuration will have been set up in the location shown above when setting up Lynicon Base modules.
  • Optionally, it 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.