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 :-)
精彩评论