Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Per your first link:

> What if the content changes on the Hub?

> When a pull is attempted with a tag, the Registry checks the remote to ensure if it has the latest version of the requested content. Otherwise, it fetches and caches the latest content.

If that causes a manifest pull, it counts as a pull and will be rate limited. Yikes! This could lead to wildly nondeterministic behavior.



Yes, it does a pull but caches the response, so subsequent pulls should hit the local cache and not be limited.


I don't think that's what it means.

> When a pull is attempted with a tag, the Registry checks the remote

Checking the remote is a manifest pull.


Difference is HEAD request or conditional GET, the server will not send a file if it matches the time and/or tag of the version you have, so you are replying with a few bytes rather then (potentially) dozens or hundreds of megabytes. Same with all CDNs.


This still counts as a manifest pull for rate limiting purposes based on what i'm seeing in this thread.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: