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

Respect cache headers from remote #2

Open
bertbaron opened this issue Sep 7, 2015 · 0 comments
Open

Respect cache headers from remote #2

bertbaron opened this issue Sep 7, 2015 · 0 comments

Comments

@bertbaron
Copy link
Owner

Intravatar does currently not respect the cache headers from the remote services. The reason is that it allows caching for a short period (currently 5 minutes) for its own requests so that changes will be picked up in decent time. However, if a remote service generates images that should be cached for a longer period intravatar should respect this.
The only way seems to be to cache those requests ourselves, so it will require some effort to implement this (unless we can find some proxy library that does this already). On the other hand, caching might greatly improve response time and will offload the remote services.

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