Catalog Manager and StarterSite-Collection of common programming errors


  • msdn When a change is made in the Catalog Manager and the user clicks “Refresh Site cache” are there events or a method on the CommerServer runtime to check if the catalog has changed or the cache is out of synch? Thanks,John

  • msdn1

    When you click the Refresh Site Cache, this will instruct the Web Service to launch a Cache Refresh, which will call a special page (SiteCacheRefresh.axd) on each Web Server in your Web Farm.

    This SiteCacheRefresh is a special HttpHandler. Depending on the values supplied in the Url, it will clear the specified cache entries.

    Snipplet from Web.config:

    In you need to add extra code to be executed on the Web Server when a Cache is refreshed in this matter, you can extend/derive the SiteCacheRefresh class with your extra logic/code.

    Hope this information will helps

    J-P