This topic has not yet been rated - Rate this topic

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)
public class SiteCacheRefresh : IHttpHandler, 
	IRequiresSessionState

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.

System..::.Object
  Microsoft.CommerceServer.Runtime..::.SiteCacheRefresh
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)