Caching and replacing output in MVC 3

Is there still an approach to implementing substitution caching in MVC 3 contained in this page ? It was written in 2008, and since then MVC has changed dramatically, so I'm not sure if this has a more relevant implementation.

Obviously, the concept of a code dictionary of a view is no longer used, but I mean more to implement the cache substitution itself.

+4
source share
3 answers

The principle of substitution caching in MVC3 will still be the same, but MVC3 RC adds support for partial caching (just the opposite of substitution, but it can solve your problem).

0
source

You can find more about the new output caching features in MVC 3 here: http://aspalliance.com/2017_Announcing_the_ASPNET_MVC_3_Release_Candidate_.5

0
source

In MVC 1, it is possible to override the output cache, but it has since been deleted. However, you can use it through Moth .

0
source

Source: https://habr.com/ru/post/1334094/


All Articles