https://bounce.jiveon.com/docs/DOC-1848
Time based cache for every widget request
Route requests through
https://api.bunchball.net/v0/racer/nitro/json
Remember the targets.
Remember deployment granularity.
login + user.getWidgetEmbeds
If we standardize where we cache the widget embed data in the browser, nitro.js and widget.js can interact with it without knowing about one another. They are black boxes.
Now that we are decoupled, we have flexibility. We are not married to a technology stack or js framework. Widgets are easily replaceable, maintainable, and deployable. Newsfeed version 1 could be written in backbone.js. Version 2 could be react. We have that freedom.
<div id="94480" class="nitro-widget nitro-newsfeed-widget"></div>
<script src="nitro.js"></script>
Write new endpoints for racer that service a particular widget satisfying the one request per widget target.