AddResponseCaching unnecessarily adds IMemoryCache to the DI #3360
Labels
area-middleware
Includes: URL rewrite, redirect, response cache/compression, session, and other general middlesware
breaking-change
This issue / pr will introduce a breaking change, when resolved / merged.
bug
This issue describes a behavior which is not expected - a bug.
Done
This issue has been fixed
feature-response-caching
Milestone
The response caching middleware used to rely on the memory cache from the DI until we decided to use a private instance of memory cache: aspnet/ResponseCaching#132. As such we no longer need to add IMemoryCache to the DI services as part of AddResponseCaching.
The text was updated successfully, but these errors were encountered: