You can use session or cache mechanisms to cache master page data, but you would have to programmably pick out what belongs to the master and what is there for the view If you are talking output caching, I don't believe output caching is available for master pages. For partial output caching in ASP.NET MVC, Steve Sanderson has some excellent points on this: blog.codeville.net/2008/10/15/partial-ou... So which type of caching are we talking about?
You can use session or cache mechanisms to cache master page data, but you would have to programmably pick out what belongs to the master and what is there for the view. If you are talking output caching, I don't believe output caching is available for master pages. For partial output caching in ASP.
NET MVC, Steve Sanderson has some excellent points on this: blog.codeville.net/2008/10/15/partial-ou... So which type of caching are we talking about?
I was referring to something similar to output caching. Doesn't look like it is possible so as you say I will have to stick to other caching techniques. – Joel Cunningham Jan 27 '10 at 11:34.
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.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.