1.0.1 • Published 8 years ago
rijs.backpressure v1.0.1
Ripple | Backpressure
By default, the Sync module sends all resources to all clients. Users can limit this or change the representation sent to clients for each resource using the to transformation function. This module alters the default behaviour to only send resources and updates to clients for resources that they are using to eliminate over-fetching. You can still use the to hook to add extra business logic on top of this.
This works with both the declarative usage:
<twitter-feed data="tweets" css="styles.css">// you will be sent twitter-feed, tweets, and styles.cssAnd the imperative usage:
ripple('object') // will eventually resolve to value from serverTODO
- Explore subresource tracking
- Explore untracking