VaryByCustom #2602
Labels
affected-very-few
This issue impacts very few customers
area-middleware
Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
feature-response-caching
severity-nice-to-have
This label is used by an internal tool
Milestone
From @AdnanCukur on Wednesday, October 25, 2017 12:21:13 AM
I have a Claim in my ClaimsPrincipal object, it contains a boolean, and I need the response cache to vary by this boolean.
In MVC 5 I could easily do this with a VaryByCustom string, but I can't figure out how to solve this issue in .NET Core, is this feature missing ?
Copied from original issue: aspnet/ResponseCaching#140
The text was updated successfully, but these errors were encountered: