Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local cache should verify checksum of the remote blob #12

Open
fkorotkov opened this issue Dec 5, 2024 · 0 comments
Open

Local cache should verify checksum of the remote blob #12

fkorotkov opened this issue Dec 5, 2024 · 0 comments

Comments

@fkorotkov
Copy link
Contributor

Instead of just blindly check if file presented locally, we should first do a HEAD to check if the blob still exists and also verify etag. If either of cases is true (blob is missing or checksum is not the same) we should clean up local cache and return 404.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant