I built a MVC3 app, the applicaiton have lot of pages, now because security issues I need to add the no-cache setup in http headers, Is any easier way to do it? if we can modify one place then it will working for entire application, it will be perfect.
Can you guys help me out?
Response.Cache.SetCacheability()
method instead of setting headers manually. Tested in Fiddler and working as expected.