docker-registry-proxy icon indicating copy to clipboard operation
docker-registry-proxy copied to clipboard

ENABLE_MANIFEST_CACHE and HEAD requests to manifests

Open Yannik opened this issue 4 years ago • 1 comments

Hi,

since docker 20.10, when doing docker pull for an existing image, a HEAD request is done by default, thus not counting against the rate limit: Screenshot from 2021-10-08 23-18-24

You can also confirm this by doing multiple docker pulls for the same image and checking your rate limit count.

Can you explain a bit more how the ENABLE_MANIFEST_CACHE option handles this?

Does it also cache HEAD requests?

Yannik avatar Oct 08 '21 21:10 Yannik

Hi, do a search on the issues: https://github.com/rpardini/docker-registry-proxy/search?q=HEAD+GET&type=issues I haven't been able to actually work on this, there's tons of PRs pending. Hopefully soon!

rpardini avatar Oct 10 '21 11:10 rpardini