VaryByCustom
AdnanCukur opened this issue · 2 comments
AdnanCukur commented
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 ?
Tratcher commented
This has not been implemented. The only extension beyond HTTP caching is VaryByQueryKeys.
aspnet-hello commented
This issue was moved to dotnet/aspnetcore#2602