Class CacheSettings
Represents configuration settings for the Umbraco content and media cache.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
[UmbracoOptions("Umbraco:CMS:Cache")]
public class CacheSettings
Remarks
This class configures cache seeding behavior and cache entry durations for documents and media items. Cache seeding pre-populates the cache during application startup for improved performance.
Constructors
View SourceCacheSettings()
Declaration
public CacheSettings()
Properties
View SourceContentTypeKeys
Gets or sets a value for the collection of content type ids to always have in the cache.
Declaration
public List<Guid> ContentTypeKeys { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Guid> |
DocumentBreadthFirstSeedCount
Gets or sets a value for the document breadth first seed count.
Declaration
public int DocumentBreadthFirstSeedCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DocumentSeedBatchSize
Gets or sets a value for the document seed batch size.
Declaration
public int DocumentSeedBatchSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Entry
Gets or sets the cache entry settings for documents and media.
Declaration
public CacheSettings.CacheEntry Entry { get; set; }
Property Value
| Type | Description |
|---|---|
| CacheSettings.CacheEntry |
MediaBreadthFirstSeedCount
Gets or sets a value for the media breadth first seed count.
Declaration
public int MediaBreadthFirstSeedCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MediaSeedBatchSize
Gets or sets a value for the media seed batch size.
Declaration
public int MediaSeedBatchSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |