aspnet / Diagnostics

[Archived] Diagnostics middleware for reporting info and handling exceptions and errors in ASP.NET Core, and diagnosing Entity Framework Core migrations errors. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
213 stars 108 forks source link

Set cache headers in health check middleware #485

Closed rynowak closed 6 years ago

rynowak commented 6 years ago

Updated

rynowak commented 6 years ago

@Tratcher - I noticed the linked code uses no-cache and we're using no-cache, no-store (based on some places in MVC) - which should we be doing here?

Tratcher commented 6 years ago

@rynowak here's a good description. Your version should be fine.