Author: you've been HAACKED | Posted on: 5/12/2009 11:27:40 PM | Views : 879

A while back, I wrote about Donut Caching in ASP.NET MVC for the scenario where you want to cache an entire view except for a small bit of it. The more technical term for this technique is probably ?cache substitution? as it makes use of the Response.WriteSubstitution method, but I think ?Donut Caching? really describes it well ? you want to cache everything but the hole in the middle. However, what happens when you want to do the inverse. Suppose you want to cache the donut hole, instead of the donut? I think we should nickname all of our software concepts after tasty food items, don?t you agree? In other words, suppose you want to cache a portion of the view in a different manner (for example, with a different duration) than the entire view...(read more) ...

Go to the complete details ...