Skip to main content
InterviewHubPRO
Section Overview
Q41

Question 41 of 50

Part 3: Distributed Systems, Kestrel Internals & Scalability (25 - 35)

82%
ASP.NET Core & Web API (50 Qs)•Part 3: Distributed Systems, Kestrel Internals & Scalability (25 - 35)

Output Caching vs Response Caching.

senior LevelMost AskedSystem Design

In Simple Words:

  • Response Caching (UseResponseCaching): Relies on HTTP headers (Cache-Control) respected by browser or proxy caches. Lacks server-side invalidation.
  • Output Caching (UseOutputCache - .NET 7+): Enterprise server-side caching. Caches full rendered responses in RAM or Redis. Supports Cache Tagging (Tag("products")) and programmatic eviction (evictByTag("products")) when underlying data updates!