November Happy Hour will be moved to Thursday December 5th.

Class StaticFileSection

Static file handler configuration.

Inheritance
System.Object
StaticFileSection
Namespace: EPiServer.Framework.Configuration
Assembly: EPiServer.Framework.dll
Version: 10.10.4
Syntax
public class StaticFileSection : ConfigurationSection

Constructors

StaticFileSection()

Declaration
public StaticFileSection()

Properties

CacheControl

Gets the cache control settings.

Declaration
public string CacheControl { get; }
Property Value
Type Description
System.String

CurrentStaticFileSection

Gets the current static file handler configuration.

Declaration
public static StaticFileSection CurrentStaticFileSection { get; }
Property Value
Type Description
StaticFileSection

EnableOutputCache

Gets a value indicating whether output cache should be enabled.

Declaration
public bool EnableOutputCache { get; }
Property Value
Type Description
System.Boolean

true if output cache is enabled; otherwise, false.

ExpirationTime

Gets the cache expiration time.

Declaration
public TimeSpan ExpirationTime { get; }
Property Value
Type Description
System.TimeSpan

Extension Methods