Output Caching in ASP.NET Core: What Gets Cached?
ASP.NET Core output caching does not cache an endpoint result, an EF Core query or a domain object. It caches a completed HTTP response: status, headers and body bytes.
Read Blog PostASP.NET Core output caching does not cache an endpoint result, an EF Core query or a domain object. It caches a completed HTTP response: status, headers and body bytes.
Read Blog PostIMemoryCache is great for speeding up expensive operations (database reads, HTTP calls, heavy computations). But many real systems need more than a TTL:
Read Blog Post