Open dmikester1 opened 9 years ago
Maybe add the caching to each action individually, and exclude that particular action?
If you extend DonutOutputCacheAttribute
you'll have access to the field OutputCacheManager
, on which you can call RemoveItem
and RemoveItems
.
I need to disable or clear the donut caching when a specific action occurs in my controller. How can I do this? I am using asp.net and MVC.