SiteCacheRefresh Class

Http handler responsible for refreshing caches of a Commerce application.

Namespace: Microsoft.CommerceServer.Runtime
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Class SiteCacheRefresh _
    Implements IHttpHandler, IRequiresSessionState
'Usage
Dim instance As SiteCacheRefresh
public class SiteCacheRefresh : IHttpHandler, 
    IRequiresSessionState
public ref class SiteCacheRefresh : IHttpHandler, 
    IRequiresSessionState
public class SiteCacheRefresh implements IHttpHandler, IRequiresSessionState

Remarks

The following caches are affected:

  • CatalogCache to refresh all catalog caches.

  • CommerceCaches to refresh all site caches configured in web.config.

  • SiteTermCache to refresh the site term cache.

  • ProfileCache to refresh all profiles and site terms.

  • ProfileCache.keyvalue.profiletype to refresh the single profile instance of type profiletype with primary key value keyvalue.

  • AllMarketingCaches to refresh all site caches configured in web.config that are of type "Discounts" or "Advertising".

  • The name of a specific site cache configured in web.config.

Inheritance Hierarchy

System..::.Object
Microsoft.CommerceServer.Runtime..::.SiteCacheRefresh

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SiteCacheRefresh Members

Microsoft.CommerceServer.Runtime Namespace