protected virtual void ClearCache(IEnumerable <CatalogProduct> entities)
        {
            AssociationSearchCacheRegion.ExpireRegion();
            SeoInfoCacheRegion.ExpireRegion();

            foreach (var entity in entities)
            {
                ItemCacheRegion.ExpireEntity(entity);
            }
        }
Ejemplo n.º 2
0
 protected virtual void ClearCache(IEnumerable <Category> categories)
 {
     CatalogCacheRegion.ExpireRegion();
     SeoInfoCacheRegion.ExpireRegion();
 }