فعال سازی browser cache در ASP.NET MVC
نویسنده: وحید نصیری
تاریخ: ۱۳۹۴/۰۸/۲۱ ۱۹:۳۴
آدرس: www.dntips.ir
The OutputCache attribute does not allow us to dynamically change the cache settings for the current request. As MVC and Web API both rely on different libraries I could not reuse the Web API action filter in MVC so I had to come up with a new solution. This again resulted in two simple classes.