HttpClient in .NET lacks built-in HTTP caching, requiring every request to hit the server. The Meziantou.Framework.Http.Caching NuGet package adds RFC 7234 and RFC 8246 compliant caching via a DelegatingHandler. The post covers installation, basic usage, ASP.NET Core dependency injection integration, client cache directives
Table of contents
# Understanding HTTP caching# Introducing Meziantou.Framework.Http.Caching# Support for client cache directives# Thread safety# Additional resources1 Comment
Sort: