enjalot/tributary — pull request #118 by georules (2014-04-05 20:17:22+00:00)
Title: Gistcache

+ This caches gists in a mongo collection "gists".
+ Cache code is in cache.js, requires a mongo collection from mongoskin to use.
+ sandbox/index.js now also connects to the mongo database to provide cached gist data
+ src/ui.js now first attempts to pull from /gist/ , and then should go to github if that fails -- may need to change if tributary is only being used client side and /gist/ domain is not sandbox.tributary.io (or localhost).
+ URL cache invalidation provided with update query /inlet/:gistid?update=true