HttpCacheHeaders
HttpCacheHeaders copied to clipboard
ASP.NET Core middleware that adds HttpCache headers to responses (Cache-Control, Expires, ETag, Last-Modified), and implements cache expiration & validation models
Hi, we had severe issue with caching running on multiple instances in k8s with this library. According to https://simonhearne.com/2022/caching-header-best-practices/ `This If-None-Match header is a message to the server that the...
Less of an issue and more of a cry for help. This might not be the correct place for this but I don't know where else to turn to. I...
While using this package in our .NET5 WebAPI project, we ran into some unexpected behavior regarding the generation/validation of ETags, which I'd like to understand - or propose a change....
Currently implemented by checking for a publicly exposed type, best practice would be to create an analyzer for that as per Javier's answer here: https://github.com/dotnet/aspnetcore/issues/37679
... so profiles can be applied to controllers/actions (instead of on a global level)
When setting Vary By All attribute on action method does not take an impact.
As per https://support.cloudflare.com/hc/en-us/articles/115003206852-Understanding-Origin-Cache-Control: > Cache-Control: max-age=600, stale-while-revalidate=30 > This configuration indicates the asset is fresh for 600 seconds and can be served stale for up to an additional 30 seconds...
Allow passing through general options object to turn off expiration and/or validations models. In ref to #60 & #5
TIdy up of the csproj including elimination of the polyfill packages. Closes #137