Caching MonoRail
So for the last couple of hours I'm trying to add caching to MonoRail. Naturally, I wanted to learn how the ASP.Net default caching works. I run into two problems.
The first, there is literally no information at all about the internal working of the ASP.Net Cache engine. There is a wealth of information about how to use it, but nothing about how it works.
The second, which I discovered after I used my trusty Reflector to dig into the ASP.Net runtime internals, was that they are indeed internal. Pretty much all of the usuable pieces of the ASP.Net Caching engine are marked interanl are completely unusable to the outside world. I guess this explains why there is no information about it.
The problem is that the moment you step out of the webforms world, you are completely stranded. The problem isn't that you can't use the Cache object, that is avialable to you. The problem is that all the sophisticated features like VaryByParam, VaryByCustom, etc, are completely gone! I'll have to reimplement them myself if I want those features, which is a crying shame.
Comments
Comment preview