My client has a busy traffic site with a big amount of pages, ASP.NET's built-in cache solutions is good, but it only stores content into the memory. Since the site has a big amount of pages, so I think disk caching would be a better idea. But after searching I didn't find a solution, any suggestions?
A:
ASP.NET 4.0 allows you to write your own cache provider. Scott Gu's blog discusses the details.
Keltex
2010-05-04 03:58:01
+1
A:
.Net 4 lets you write your own using OutputCacheProvider and there may be some examples out there. No doubt someone will roll out an open source project around this when .Net 4 gets more traction.
There was one in ASP.Net 2.0 Betas apparently, but it got removed in the RTM. You can still find references to the web.config DiskCache parameter.
kervin
2010-05-04 03:58:20
+1
A:
There is the ConcurrentCache project on codeplex which has support for 4 caching modes:
- Memory
- Files
- Compressed
- Auto
I can't say much about the project as I only just found it myself but I'm giving it a go right now.
Chris Marisic
2010-06-16 12:39:39
FWIW I haven't had very good success so far with this, I'm not sure if this is ready for production usage.
Chris Marisic
2010-06-16 20:00:43