filipw / Strathweb.CacheOutput

ASP.NET Web API CacheOutput - library to allow you to cache the output of ApiControllers
Other
882 stars 253 forks source link

Added Custom User Defined Headers to be included in Cache #266

Open an-d-uu opened 2 years ago

an-d-uu commented 2 years ago

Added code to include custom headers that you define in the CacheOutput to be included in the caching of response data. If the custom header value changes then the cache is re-evaluated.

[CacheOutput(ClientTimeSpan = 50, ServerTimeSpan = 50, IncludeCustomHeaders = "X-Test-Key"]

Fixes #256