I try this code
public ActionResult RemoveCache(Guid product_Id)
{
var url = Url.Action("ProductPreview", "Common", new { product_Id = product_Id });
HttpResponse.RemoveOutputCacheItem(url);
return RedirectToAction("Index");
}
to remove the output cache for a child action, but it does not work. Please help me, thanks!