A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class CacheConfiguration

Configuration element used to define cache properties.

Inheritance
System.Object
CacheConfiguration
Namespace: Mediachase.Commerce.Core
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class CacheConfiguration : ConfigurationElement

Constructors

CacheConfiguration()

Initializes a new instance of the CacheConfiguration class.

Declaration
public CacheConfiguration()

Properties

AppCollectionTimeout

Gets or sets the app collection timeout.

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

The app collection timeout.

IsEnabled

Attribute determines whether in-memory caching is enabled or not.

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

true if this instance is enabled; otherwise, false.