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

GBFS caching #625

Open
eskerda opened this issue Oct 13, 2023 · 1 comment
Open

GBFS caching #625

eskerda opened this issue Oct 13, 2023 · 1 comment

Comments

@eskerda
Copy link
Owner

eskerda commented Oct 13, 2023

Current gbfs implementation takes 4 requests per update on a worst case scenario:

  • feed_index (/gbfs)
  • /station_information
  • /station_status
  • /vehicle_types (when available)

That's too much for every update. Try to conditionally cache feed index, station information and vehicle types if possible

@eskerda
Copy link
Owner Author

eskerda commented Dec 28, 2023

#642

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