Upstream redis cache fixes and metrics
Related to #163 (closed).
This is a port of https://github.com/docker/distribution/pull/3113 plus some unused code cleanup.
Related to #163 (closed).
This is a port of https://github.com/docker/distribution/pull/3113 plus some unused code cleanup.