Search Results for

    Show / Hide Table of Contents
    View Source

    Class SmidgeOptionsSetup

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.Common.RuntimeMinification
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public class SmidgeOptionsSetup : IConfigureOptions<SmidgeOptions>

    Constructors

    View Source

    SmidgeOptionsSetup(IOptions<RuntimeMinificationSettings>)

    Declaration
    public SmidgeOptionsSetup(IOptions<RuntimeMinificationSettings> runtimeMinificatinoSettings)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<RuntimeMinificationSettings> runtimeMinificatinoSettings

    Methods

    View Source

    Configure(SmidgeOptions)

    Configures Smidge to use in-memory caching if configured that way or if certain cache busters are used. Also sets the cache buster type such that public facing bundles will use the configured method.

    Declaration
    public void Configure(SmidgeOptions options)
    Parameters
    Type Name Description
    SmidgeOptions options

    Instance of to configure.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • SmidgeOptionsSetup(IOptions<RuntimeMinificationSettings>)
    • Methods
      • Configure(SmidgeOptions)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX