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

[OSM] Cash the responses #14

Open
OhmSpectator opened this issue Nov 11, 2022 · 4 comments
Open

[OSM] Cash the responses #14

OhmSpectator opened this issue Nov 11, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@OhmSpectator
Copy link
Owner

Overpass API requests take a long time to be handled, but the responses are not changed that often. Try to cache them.

@OhmSpectator OhmSpectator added the enhancement New feature or request label Nov 11, 2022
@OhmSpectator
Copy link
Owner Author

@OhmSpectator
Copy link
Owner Author

The most problematic request, the Overpass API is done now via overpy package. So we cannot control the caches with the requests_cache package there. Check the package itself or try to fix it and propose a solution with caching to the overpy master.

@OhmSpectator
Copy link
Owner Author

@OhmSpectator
Copy link
Owner Author

Another option would be just to serialize the responses per query string.

@OhmSpectator OhmSpectator changed the title Cash the responses [OSM] Cash the responses Nov 20, 2022
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

1 participant