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

Cache HTTP redirects #2

Open
njsmith opened this issue Mar 7, 2016 · 0 comments
Open

Cache HTTP redirects #2

njsmith opened this issue Mar 7, 2016 · 0 comments

Comments

@njsmith
Copy link
Owner

njsmith commented Mar 7, 2016

When you GET a file at archive.org using its canonical URL, then they always issue a 302 Moved Temporarily redirect to some internal URL where the data is actually stored. When using the ZS library to access such a file, following all these redirects works fine, but it doubles the number of round trips. We should cache the redirection, and make future requests directly to the internal URL.

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