eastein / metraapi

A Python library that makes it easy to find Lines, Stations, and Realtime arrival times for the Chicago Metra.
MIT License
1 stars 1 forks source link

caching #1

Open eastein opened 9 years ago

eastein commented 9 years ago

Right now any call to the prediction APIs will do 2 http requests outbound. These should be cacheable.

Add in memcache support for this. Additionally, tear out the in-memory caching used for stations (metraapi.metra.Line._sc(ts|)).