Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    CacheSettings()

    Declaration
    public CacheSettings()

    Properties

    View Source

    ContentTypeKeys

    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>
    View Source

    DocumentBreadthFirstSeedCount

    Gets or sets a value for the document breadth first seed count.

    Declaration
    public int DocumentBreadthFirstSeedCount { get; set; }
    Property Value
    Type Description
    int
    View Source

    DocumentSeedBatchSize

    Gets or sets a value for the document seed batch size.

    Declaration
    public int DocumentSeedBatchSize { get; set; }
    Property Value
    Type Description
    int
    View Source

    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
    View Source

    MediaBreadthFirstSeedCount

    Gets or sets a value for the media breadth first seed count.

    Declaration
    public int MediaBreadthFirstSeedCount { get; set; }
    Property Value
    Type Description
    int
    View Source

    MediaSeedBatchSize

    Gets or sets a value for the media seed batch size.

    Declaration
    public int MediaSeedBatchSize { get; set; }
    Property Value
    Type Description
    int
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX