pybikes icon indicating copy to clipboard operation
pybikes copied to clipboard

GBFS caching

Open eskerda opened this issue 2 years ago • 1 comments

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 avatar Oct 13 '23 19:10 eskerda

https://github.com/eskerda/pybikes/pull/642

eskerda avatar Dec 28 '23 21:12 eskerda