A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Clear Commerce Catalog Cache in Code

Vote:
 

HI All

I am working on an catalog update functionality on the website. I want to know what I need to do to clear the commerce cache in code.

There is a plugin in the admin section which clear the commerce cache. I need to know how I can invoke this manually via code or in an application program.

You response is appreciated.

Kind Regards

Sandeep

#59083
May 20, 2012 3:33
Vote:
 

Try using Mediachase.Commerce.Engine.Caching.CacheHelper.Clear method

#59130
May 22, 2012 18:41
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.