Skip to content

Fixed bug where images that had been updated on the server would not be downloaded. #30

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

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

antoinerabanes
Copy link
Contributor

Hi Jake,
I encountered a bug using your lovely lib where once an image had been downloaded it would be cached and never re-downloaded even if the image has been modified on the server.

I now send a request for the image with an http 304 if-unmodified-since with the date of the last successful download of the image.

Then the image gets downloaded only if it has been modified on the server.

@antoinerabanes
Copy link
Contributor Author

jake?

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

Successfully merging this pull request may close these issues.

2 participants