Will it be solved in the next version of MVC? It's a critical issue for our MVC application.
I don't know. If this is blocking you, you have a few options.
<div mce_keep="true">Write a filter that performs caching, as suggested by an earlier poster. Presumably such a filter would work by hooking into the response stream.</div>
<div mce_keep="true">If you're implementing caching to work around database access, you could modify your model repository to look in a cache (such as that provided by ASP.NET) before looking in the database.</div>
<div mce_keep="true">If only a particular part of your application requires partial view caching, you could use WebForms rather than MVC for that part of your application.</div>
I realize that these aren't particularly good options. :( Depending on the complexity of your application, one of the first two methods should be sufficient.
levib
Star
7702 Points
1099 Posts
Microsoft
Re: [OutputCache] problem in Html.RenderAction()
Oct 15, 2008 01:51 AM|LINK
I don't know. If this is blocking you, you have a few options.
I realize that these aren't particularly good options. :( Depending on the complexity of your application, one of the first two methods should be sufficient.