MVC3 Partially without caching on a cached page

In my MVC3 project, I use some output caching with the attribute OutputCacheset in the action. However, there are certain sections on this page that I do not want to cache.

Is it possible that some partial elements in my view override page caching?

+3
source share
4 answers

Now you can get the correct donut caching by downloading the MvcDonutCaching NuGet package. See http://mvcdonutcaching.codeplex.com/ and http://www.devtrends.co.uk/blog/donut-output-caching-in-asp.net-mvc-3 for more details .

+5
source

This is called donut caching and is not supported out of the box in MVC3. Check out my similar question here . In particular, the Jan Jongboom Moth library that he offers can do this (although I cannot confirm or deny it)

0
source

All Articles