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

use cache control for cached data as well #7

Open
poef opened this issue Jan 16, 2015 · 0 comments
Open

use cache control for cached data as well #7

poef opened this issue Jan 16, 2015 · 0 comments

Comments

@poef
Copy link
Contributor

poef commented Jan 16, 2015

If you want to write a cache for an http client, you can now control how long to store the cache, using the cacheControl object injected. But if the http request has a cache-control header, you need to check the freshness of the cached image.

The current implementation of the Proxy doesn't call the cacheControl for cached data, but it should.

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