Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><strike>Yes, it is. Scott Gu <a href="http://weblogs.asp.net/scottgu/archive/2010/12/10/announcing-asp-net-mvc-3-release-candidate-2.aspx" rel="noreferrer">blogged about it</a>:</p> <blockquote> <p>In addition to supporting full page output caching, ASP.NET MVC 3 also supports partial-page caching – which allows you to cache a region of output and re-use it across multiple requests or controllers. The [OutputCache] behavior for partial-page caching was updated with RC2 so that sub-content cached entries are varied based on input parameters as opposed to the URL structure of the top-level request – which makes caching scenarios both easier and more powerful than the behavior in the previous RC. </strike></p> </blockquote> <hr> <p>UPDATE:</p> <p>Out of the box only donut hole caching is supported in ASP.NET MVC 3. This allows you to cache a small portion of the page by using the <code>[OutputCache]</code> attribute on a child action. Donut caching which allows for excluding portions of a page that has been cached is not supported. <code>Response.WriteSubstitution</code> doesn't work since ASP.NET MVC 2. Here is a <a href="http://dotnetslackers.com/articles/aspnet/Cache-Exploration-in-ASP-NET-MVC-3-Part-1.aspx" rel="noreferrer">good article</a> which explains the different caching options available in ASP.NET MVC 3.</p> <hr> <p>UPDATE 2:</p> <p>Here's a <a href="http://www.devtrends.co.uk/blog/donut-output-caching-in-asp.net-mvc-3" rel="noreferrer">great article</a> which illustrates how donut caching could be enabled in ASP.NET MVC 3.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload