I have a MasterPage that has ViewData passed to it. I would really like to cache only the MasterPage for performance reasons. But I do not want to cache the actual page that is loading with the MasterPage.
I believe this can be done in web forms by adding code in to the Page_Load event. Does anyone know of a similar technique using ASP.NET MVC to achieve the same goal?
Thanks in advance.