ASP.NET Core 2.0 Web API Response Caching
问题 I am trying to implement response caching in my web api using the "Microsoft.AspNetCore.ResponseCaching" package. I am using Postman to test the application and validate headers etc. The correct headers are generated with the specified max-age but postman seems to request the response from the api and not using the cache. The response time does not vary at all and if I debug the controller I can see that it gets hit by the request every time. Startup class ConfigureServices (along with other