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 301 lookups #4

Open
3rd-Eden opened this issue Apr 17, 2014 · 0 comments
Open

Cache 301 lookups #4

3rd-Eden opened this issue Apr 17, 2014 · 0 comments

Comments

@3rd-Eden
Copy link
Owner

301 redirects are permanent redirects. We're currently not caching these redirections so they are done every single time we hit an API endpoint. If no caching headers are send with the requests we should store the source URL->Redirection in a LRU cache. Before a request is send we should replace the URL with the redirection.

This could yield significant benefits for API calls that are moved etc.

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

1 participant