UW-Macrostrat / macrostrat-api

The API for SCIENCE
3 stars 1 forks source link

Redis + rework defs #145

Closed jczaplew closed 8 years ago

jczaplew commented 8 years ago

Jankily merging two changes at once.

  1. Use Redis as the tile and column cache if it is available. This allows us persist our cache through API restarts.
  2. All routes under /defs are now importable into other routes. This allows us to avoid writing custom SQL on routes and instead leverage existing code.
jczaplew commented 8 years ago

@cambro Any complaints or thoughts?