开发者

Asp .NET MVC OutputCache stored in SQL db

How can you configure 开发者_如何学COutputCache in Asp .NET MVC 2 (with .NET 3.5) so that the cached data is stored in SQL database?


This could be achieved in ASP.NET 4.0 where you can write a custom cache provider. Quote from this very same blog post:

One limitation of output caching with ASP.NET V1->V3.5, though, is that the cache store itself is not extensible – and the cached content always has to be stored in-memory.

Time to upgrade :-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜