A middleware that stores and serves responses in compliance with RFC-7234. The
cache key is determined using the path of the request and filtering query parameters to those specified in the Swagger Documentation
for the endpoint. The cache is content-aware; that is, it won’t attempt to serve a cached XML response if the current
request asks for a JSON response.
Incomplete Functionality
This caching middleware does not implement section 4.3. If a response is stale in the cache, the middleware will
send the original request on to the upstream instead of trying to validate the stale response with a
If-Modified-Since or If-Match header.