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

Implement If-Modified-Since when downloading images #109

Closed
inercia opened this issue Mar 6, 2017 · 1 comment
Closed

Implement If-Modified-Since when downloading images #109

inercia opened this issue Mar 6, 2017 · 1 comment
Assignees

Comments

@inercia
Copy link
Contributor

inercia commented Mar 6, 2017

Our HTTP client currently downloads the image specified on source even when the image in the server is the same as a local copy previously downloaded.

For ths case where a local copy is already in the pool, we could perform the HTTP request with the If-Modified-Since header (using the modification time of the local image), so it would be downloaded only if the remote file has been updated.

@MalloZup
Copy link
Collaborator

MalloZup commented Mar 6, 2017

@inercia good idea

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

No branches or pull requests

2 participants