Donut caching, the ability to cache an entire page except for a small region of the page (or set of regions) has been conspicuously absent from ASP.NET MVC since version 2 . Mmmmm, donuts! - Photo by Pzado at sxc.hu This is something that's on our Roadmap for ASP.NET MVC 4, but we have yet to flesh out the design. In the meanwhile, there's a new NuGet package written by Paul Hiles that brings donut caching to ASP.NET MVC 3 . I haven't tried it myself yet, so be forewarned, but judging by the blog post, Paul has done some extensive research into how output caching works. One issue with his approach is that to create "donut holes", you need to call an action from within your view. That works for ASP.NET MVC, but not for ASP.NET Web Pages. What...(read more) ...
Go to the complete details ...