Skip to content
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

Extensibility for user operations of cached responses #2618

Closed
aspnet-hello opened this issue Jan 2, 2018 · 1 comment
Closed

Extensibility for user operations of cached responses #2618

aspnet-hello opened this issue Jan 2, 2018 · 1 comment
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares feature-response-caching
Milestone

Comments

@aspnet-hello
Copy link

From @JunTaoLuo on Wednesday, September 21, 2016 11:13:28 AM

We may want to expose an extensibility point for users to modify the cached response. There are two instances where this can occur and we can add the extensibility to one or both. First is when the middleware first receives the response and is about to store it in cache. Second is when the middleware has retrieved the item from cache and is about to use it to serve a request. A scenario that may require this is for stripping out a few headers in an otherwise cacheable response.

Copied from original issue: aspnet/ResponseCaching#52

@JunTaoLuo
Copy link
Contributor

We'll revisit extensibility in Output Caching: #27387

@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
@amcasey amcasey added area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares and removed area-runtime labels Jun 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares feature-response-caching
Projects
None yet
Development

No branches or pull requests

5 participants