How to clear cache in specified controller in asp mvc?

IraMcclure

New Member
How to clear cache in specified controller?I try to use several approaches:\[code\]Response.RemoveOutputCacheItem();Response.Cache.SetExpires(DateTime.Now);\[/code\]There is no any effect, it not work. :(May be exists any way to get all keys in controller cache and remove they explicitly?And in which overridden method i should perform clear cache? and how to do that?Does any ideas?
 
Back
Top