Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeliveryApiSettings.OutputCacheSettings

    Typed configuration options for output caching of the Delivery API.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class DeliveryApiSettings.OutputCacheSettings

    Properties

    View Source

    ContentDuration

    Gets or sets a value indicating how long the Content Delivery API output should be cached.

    Declaration
    public TimeSpan ContentDuration { get; set; }
    Property Value
    Type Description
    TimeSpan

    Cache lifetime.

    Remarks

    The default cache duration is one minute, if this configuration value is not provided.

    View Source

    Enabled

    Gets or sets a value indicating whether the Delivery API output should be cached.

    Declaration
    public bool Enabled { get; set; }
    Property Value
    Type Description
    bool

    true if the Delivery API output should be cached; otherwise, false.

    Remarks

    The default value is false.

    View Source

    MediaDuration

    Gets or sets a value indicating how long the Media Delivery API output should be cached.

    Declaration
    public TimeSpan MediaDuration { get; set; }
    Property Value
    Type Description
    TimeSpan

    Cache lifetime.

    Remarks

    The default cache duration is one minute, if this configuration value is not provided.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX