Determining when GTFS Complete has been updated

Is there a way to determine when the GTFS Complete data was last updated?
Preferably without downloading the whole zip every time (which is grossly inefficient, but the only thing I can think of at this stage).

We’re looking into allowing HEAD requests so you can check when the file was last modified… stay tuned we’ll update when it’s available.

1 Like

Why not have a last updated text file as part of the feed?

Feed comes as a single compressed package doesn’t it? Meaning that the entire package would have to be downloaded to determine if its been updated.

Yes currently it’s one package

HEAD requests with last-modified and content-length headers is the standard method of detecting an update.

The response is typically less than a few KB.

We’ve just updated the API Gateway so it now supports HEAD requests for static / timetable type data.

Let us know how it goes!

Oh good, I am seeing it working.

Thank you.:slight_smile:

1 Like