Marvin.Cache.Headers 2.0.0

There is a newer version of this package available.
See the version list below for details.
Install-Package Marvin.Cache.Headers -Version 2.0.0
dotnet add package Marvin.Cache.Headers --version 2.0.0
<PackageReference Include="Marvin.Cache.Headers" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Marvin.Cache.Headers --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Marvin.Cache.Headers, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Marvin.Cache.Headers as a Cake Addin
#addin nuget:?package=Marvin.Cache.Headers&version=2.0.0

// Install Marvin.Cache.Headers as a Cake Tool
#tool nuget:?package=Marvin.Cache.Headers&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ASP.NET Core middleware that adds HttpCache headers to responses (Cache-Control, Expires, ETag, Last-Modified), and implements cache expiration & validation models.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Marvin.Cache.Headers:

Package Downloads

Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Marvin.Cache.Headers:

Repository Stars
Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.
Fully functioning sample application accompanying my Implementing Advanced RESTful Concerns with ASP.NET Core 3 course
Version Downloads Last updated
6.0.0 44 12/6/2021
6.0.0-rc 355 10/25/2021
5.0.1 58,742 4/16/2020
5.0.0 2,800 2/25/2020
5.0.0-beta 351 1/21/2020
4.1.0 14,989 11/21/2019
4.0.0 10,664 8/19/2019
3.2.0 3,231 7/3/2019
3.1.0 21,623 2/19/2019
3.0.0 10,343 9/27/2018
3.0.0-beta 618 8/8/2018
2.0.1 5,197 7/25/2018
2.0.0 636 7/24/2018
1.2.0 4,690 4/30/2018
1.1.0 24,127 11/7/2017
1.0.0 3,872 2/27/2017
1.0.0-beta 692 1/16/2017

New major feature: action & controller-level cache headers.  

Next to that: bug fixes, better testing.  

Note that this is a major release with a small breaking change: some of the property names for global expiration/validation model configuration have been slightly adjusted to better align with the standard.

Have a look at the 2.0 milestone at GitHub for more info.