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

Add HTTP caching info based on revision dates #15

Open
Cantido opened this issue Oct 7, 2017 · 0 comments
Open

Add HTTP caching info based on revision dates #15

Cantido opened this issue Oct 7, 2017 · 0 comments

Comments

@Cantido
Copy link
Owner

Cantido commented Oct 7, 2017

HTTP responses from the API return cache-control and last-modified headers based on the revision dates provided in the Telnet responses. Example:

Revised: Jul 31, 2013 Earth 399

For an ephemeris request submitted without options, caching must be disabled, or restricted to whatever amount of time the request is still valid. I think the system starts its two-week window at the beginning of the current UTC day, so the response could at least be cached until the end of the day.

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