World is now on Opti ID! Learn more

Class ClientResourceOptions

Specifies options for how client resources should be handled

Inheritance
System.Object
ClientResourceOptions
Namespace: EPiServer.Framework.Web.Resources
Assembly: EPiServer.Framework.AspNetCore.dll
Version: 12.0.3
Syntax
[Options(ConfigurationSection = "Cms")]
public class ClientResourceOptions : Object

Constructors

ClientResourceOptions()

Declaration
public ClientResourceOptions()

Properties

Compress

Controls if compression is applied to the rest stores.

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

Debug

Make sure debug versions of included scripts are used instead of compressed/optimized versions

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

JsonResponseBuffer

Gets or sets the buffer for how much is buffered before written to response for json outputs

Declaration
public int JsonResponseBuffer { get; set; }
Property Value
Type Description
System.Int32

Extension Methods