Search Results for

    Show / Hide Table of Contents
    View Source

    Class NuCacheSettings

    Typed configuration options for NuCache settings.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [UmbracoOptions("Umbraco:CMS:NuCache")]
    public class NuCacheSettings

    Constructors

    View Source

    NuCacheSettings()

    Declaration
    public NuCacheSettings()

    Properties

    View Source

    ContentTypeRebuildDeleteBatchSize

    Gets or sets the number of content items whose stale NuCache rows are deleted per batch during a content type structural rebuild.

    Declaration
    public int ContentTypeRebuildDeleteBatchSize { get; set; }
    Property Value
    Type Description
    int
    Remarks

    Deleting in batches avoids a single unbounded DELETE that can escalate to a table lock, bloat the transaction log, or exceed the command timeout on sites with a lot of content. The matching node ids are read from the source tables once, then their rows are deleted in batches of this size, so the value only bounds the per-statement (and, for a deferred rebuild, per-transaction) footprint — it does not cause repeated scans. The effective size is capped at the SQL parameter limit (MaxParameterCount); lower it if brief lock escalation on cmsContentNu during a rebuild is a concern.

    View Source

    NuCacheSerializerType

    The serializer type that nucache uses to persist documents in the database.

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

    SqlPageSize

    The paging size to use for nucache SQL queries.

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

    UsePagedSqlQuery

    Gets or sets a value indicating whether to use paged SQL queries for nucache.

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