Try our conversational search powered by Generative AI!

Class StaticFileSection

Static file handler configuration.

Inheritance
System.Object
StaticFileSection
Namespace: EPiServer.Framework.Configuration
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
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