josiah-wolf-oberholtzer / discograph

Social Graphing for the Discogs Database
MIT License
74 stars 11 forks source link

Implement caching decorator. #68

Closed josiah-wolf-oberholtzer closed 9 years ago

josiah-wolf-oberholtzer commented 9 years ago

This may not be so simple. The cache key for each call needs to be derived from the argument names (keyword or otherwise) passed to that call. When some of these arguments would comprise a query string in the front-end, it's not clear how to handle them automatically here:

discograph://api/network/<entity_type>/<entity_id>?roles=???&year=???
josiah-wolf-oberholtzer commented 9 years ago

Moot.