Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class StaticFileSection

Static file handler configuration.

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