Implement the "Vary:" HTTP header to include the "Accept:" header for Docker manifest requests (at least) so that schema 1 and schema 2 can be cached separately.
Ref: RFC-7231 for HTTP, section 7.1.4
When requesting a Docker manifest from the /manifests/ endpoint, Artifactory should include a Vary header to include the Accept header so that our caching proxy knows to differentiate manifest schema 1 and schema 2 data. This has caused problems in our environment and we have had to exclude the /manifests/ endpoint from the cache.