-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose policy provider to allow override for default response caching behaviour #2612
Comments
From @asser-dk on Monday, November 20, 2017 7:44:57 AM Being able to manipulate the cache entries would be great. We have some data which doesn't change very often but which is accessed very frequently, however; when the data changes we would like to clear the cache immediately. Currently we're in-memory caching inside our business logic but it would be so much cleaner and simpler if we could somehow just clear the response cache for a given endpoint. |
* Trace when app aborts connection * Improve exception messages * Always abort connection with ConnectionAbortedException * Add ConnectionContext.Abort(Exception)
Is this something you'd be willing to consider for 3.1? |
hi dears; |
Updating the link to point at asp.net core version. |
This is one of the main motivation for our work on Output Caching: This will be considered as part of the work on OutputCaching: #27387. The design and discussion will continue there. |
From @JunTaoLuo on Tuesday, January 24, 2017 12:25:21 PM
Currently https://github.com/aspnet/ResponseCaching/blob/dev/src/Microsoft.AspNetCore.ResponseCaching/Internal/Interfaces/IResponseCachingPolicyProvider.cs is not exposed publicly. This type will need some work but exposing it will allow user overrides for checks on what is deemed cacheable, when response caching should apply, and expiry checks for cache entries.
Copied from original issue: aspnet/ResponseCaching#96
The text was updated successfully, but these errors were encountered: