Quantcast
Channel: BikePoint invalide data / Cached data?
Browsing all 9 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

BikePoint invalide data / Cached data?

Hello, We start playing with the BikePoint api. When we try to count number of bikes each 5 minutes, we had sometime “incorrect” data (maybe cached ?) image1497×735 47.9 KB I tried to debug with curl...

View Article



Image may be NSFW.
Clik here to view.

BikePoint invalide data / Cached data?

PierrickP: cloudflare You might want to have a look at the Cloudflare CDN documentation Cloudflare Help Center Understanding Cloudflare's CDN Learn about the Cloudflare Content Delivery Network (CDN),...

View Article

BikePoint invalide data / Cached data?

Hello @briantist what I understand is that there is cloudflare + varnish. I’m pretty sure something troubles. I tried with Cache-Control: no-cache on client side (still curl) without success. If you...

View Article

BikePoint invalide data / Cached data?

@PierrickP It’s often possible to get around this problem with TfL API requests to add in another “dummy” get parameter. For example “&cache-bypass=1615819430202” (current unix time in...

View Article

BikePoint invalide data / Cached data?

@briantist already tried, sadly the endpoint return 404 if we add query strings Read full topic

View Article


BikePoint invalide data / Cached data?

I guess you could use the call to get a list of all the BikePoint IDs and then use your 500-calls a minute to round robin them with a call to all of the https://api.tfl.gov.uk/BikePoint/BikePoints_303...

View Article

Image may be NSFW.
Clik here to view.

BikePoint invalide data / Cached data?

Thank you! this is a possible solution but not really applicable (nor elegant indeed ). There are 790 stations. We would exceed the 500 reqs/mins limit. It’s a pity to spend 2 minutes to get a data...

View Article

BikePoint invalide data / Cached data?

@PierrickP Yes, there are 790 stations, so that’s about a minute and a half of calls. I’m presuming you’re doing this with a cron so that’s just a loop and some usleeps() to make to you don’t hit the...

View Article


Image may be NSFW.
Clik here to view.

BikePoint invalide data / Cached data?

Small update image1535×745 61.4 KB There are good days and some bad days. On blue, it’s multiple days with wrong anwser (maybe 1/3 or 1/2). Followed with purple square. Always good. On green square, i...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images