Click or drag to resize
IOutputCacheKeyOptions Interface
Options object definition with required vary by values.

Namespace: Kentico.Web.Mvc
Assembly: Kentico.Web.Mvc (in Kentico.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public interface IOutputCacheKeyOptions

The IOutputCacheKeyOptions type exposes the following members.

Methods
  NameDescription
Public methodAddCacheKey
Adds IOutputCacheKey to the collection of required vary by values.
Public methodGetOutputCacheKeys
Returns collection of IOutputCacheKey objects.
Top
Extension Methods
  NameDescription
Public Extension MethodVaryByABTestVariant
Ensures that output cache varies on A/B test variants.
(Defined by OutputCacheKeyOptionsExtensions.)
Public Extension MethodVaryByBrowser
Ensures that output cache vary by browser type.
(Defined by OutputCacheKeyOptionsExtensions.)
Public Extension MethodVaryByCookieLevel
Ensures that output cache vary by cookie level.
(Defined by OutputCacheKeyOptionsExtensions.)
Public Extension MethodVaryByHost
Ensures that output cache vary by host name.
(Defined by OutputCacheKeyOptionsExtensions.)
Public Extension MethodVaryByPersona
Ensures that output cache varies on persona.
(Defined by OutputCacheKeyOptionsExtensions.)
Public Extension MethodVaryBySite
Ensures that output cache vary by site name.
(Defined by OutputCacheKeyOptionsExtensions.)
Public Extension MethodVaryByUser
Ensures that output cache vary by user.
(Defined by OutputCacheKeyOptionsExtensions.)
Top
See Also