aspnet/ResponseCaching

Make constructor public to support custom IResponseCache implementations

miguelhasse opened this issue · 4 comments

We should be able to implement and use a distributed cache for IResponseCache.

FYI: We avoided IDistributedCache on purpose. Checking the distributed cache on every request would add quite a bit of latency to your application.

This issue tracker is closed.
Please file issues on the Home repo as instructed by: #149

@Tratcher I understand your concern, but shouldn't that a decision left to whoever is implementing the solution that uses this library? The you're doing this also prevents even the use of a customized IMemoryCache. I have a scenario where using a custom IDistributedCache would work quite well.