I am building an pure json api and I want to cache response according to post params. Is there any similar way like VaryByQueryKeys? Maybe some custom cache middleware or?
Of course I can use MemoryCache but wonder maybe there is some "build in" practice.
Of course shouldn't expect caching in post API
But look at this sample code on special controller not in middleware and it is not "build in"
May be useful