Updating SKU doens't clear ProductPage.Product Cache

Matthew Butler asked on November 7, 2022 17:46

I'm updating information on the SKU through SKUInfoProvider.Set, but the product page isn't relfecting the changes.

How do I trigger cache clear on the linked product page.

Recent Answers


Dmitry Bastron answered on November 15, 2022 11:27

Hi Matthew,

What cache in particular do you need to clear? Is it output cache or data cache? Are you on .Net Framework or .Net Core?

0 votesVote for this answer Mark as a Correct answer

Matthew Butler answered on November 15, 2022 13:06

The .SKU and related .Product data when using:

var productPageContext = _pageDataContextRetriever.Retrieve

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.