I'm currently working with WebAPI 2
and considering to upgrade to ASP.Net Core
.
currently, My http caching is managed by Strathweb.CacheOutput.WebApi2
and I realized it's not supported by Asp.Net Core
.
the key features I like about it:
for the full list of features, Strathweb.CacheOutput.WebApi2
on github: https://github.com/filipw/Strathweb.CacheOutput
any idea of a corresponding package?
(in the worst case scenario, I'll obviously have to write my own logic...)
Notes: I'm aware of ResponseCacheAttribute
but it lacks the auto invalidation feature
ResponseCacheAttribute
is all about the Cache-Control
HTTP response header (browser based cache). I think that is not what you are looking for.
You also have Microsoft.AspNetCore.ResponseCaching
, but at the current version (release 1.0.0) it does not support invalidation on POST/PATCH/DELETE, as you said.
Your options: