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 last-updated API call #65

Open
mtmail opened this issue Feb 10, 2021 · 1 comment
Open

Cache last-updated API call #65

mtmail opened this issue Feb 10, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mtmail
Copy link
Collaborator

mtmail commented Feb 10, 2021

For every API call there is a second call to /status to display the last-updated time. It would be nice if the response would be cached, even nominatim.openstreetmap.org doesn't update faster than minutely. Ideally configurable, many installations only once per day.

Displaying "3 minutes ago" (full timestamp when you mouse-over the value) would be great.

@mtmail mtmail added the enhancement New feature or request label Feb 25, 2021
@otbutz
Copy link
Contributor

otbutz commented Mar 15, 2021

Wouldn't it be better to solve this in the backend by applying fitting cache headers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants