ASP.NET Core middleware that adds HttpCache headers to responses (Cache-Control, Expires, ETag, Last-Modified), and implements cache expiration & validation models.
Info
Version: | 7.2.0 |
Author(s): | Marvin.Cache.Headers |
Last Update: | Wednesday, September 25, 2024 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/KevinDockx/HttpCacheHeaders |
NuGet Url: | https://www.nuget.org/packages/Marvin.Cache.Headers |
Install
Install-Package Marvin.Cache.Headers
dotnet add package Marvin.Cache.Headers
paket add Marvin.Cache.Headers
Marvin.Cache.Headers Download (Unzip the "nupkg" after downloading)
Dependencies
- Microsoft.AspNetCore.Http(>= 2.2.2)
- Microsoft.AspNetCore.Http.Abstractions(>= 2.2.0)
- Microsoft.AspNetCore.Mvc.Abstractions(>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions(>= 2.2.0)
- Microsoft.Extensions.Logging.Abstractions(>= 2.2.0)
- Microsoft.Extensions.Options(>= 2.2.0)
- Microsoft.Net.Http.Headers(>= 2.2.0)