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

optionally support caching & compression #13

Open
derhuerst opened this issue Mar 14, 2022 · 1 comment
Open

optionally support caching & compression #13

derhuerst opened this issue Mar 14, 2022 · 1 comment

Comments

@derhuerst
Copy link

derhuerst commented Mar 14, 2022

What applies to gtfs-realtime-validator (client) also applies to this project (server). From CUTR-at-USF/gtfs-realtime-validator#124:

We should be sure to look at the following, which will optimize the fetching of feeds (both GTFS and GTFS-realtime):

I run a medium-sized GTFS-Realtime feed (usually 100-300 TripUpdates & 100-300 VehiclePositions). I just checked, gzipping (with the default level) brought the feed's size down from 246kb to 50kb.

@derhuerst
Copy link
Author

In case someone is interested in a JavaScript/Node.js implementation:
I have implemented the headers mentioned above as part of another project, using serve-buffer.

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