CachingCallHandler Design Question

Topics: Caching Application Block , Policy Injection Application Block
Aug 26, 2008 at 5:42 AM
Why doesn't the CachingCallHandler use the Caching Application Block? At present it uses the HttpRuntime.Cache. If I needed to support Velocity as a backing store I'd have to write my own handler rather than extending the caching application block right?
Aug 26, 2008 at 3:01 PM
Yes, you'll need to create your own ICallHandler if you want different storage or key generation strategies. In any case, using a distributed cache like Velocity to store values with essentially private keys (at least with the default key generator) is probably overkill.