You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@selaux and me trying to write some tests for fetcher.js and can’t figure out how checkFresh is meant to work and why it belongs to the fetcher.
What we need is an exact description of how this feature should work.
Another question is, why this should be a feature of rendr. I think this might be a very special use-case which isn’t required by a typical backbone / rendr app. As rendr claims not to be a framework, this might be out of its scope.
The text was updated successfully, but these errors were encountered:
My assumption is that checkFresh determines whether the fetcher goes shopping at the modelStore for cached data or goes to the model's endpoint for fresh data. It's a helpful way to dodge a known stale cache situation (eg: user just logged in / did an action that changes certain objects, etc).
@selaux and me trying to write some tests for
fetcher.js
and can’t figure out howcheckFresh
is meant to work and why it belongs to the fetcher.What we need is an exact description of how this feature should work.
Another question is, why this should be a feature of
rendr
. I think this might be a very special use-case which isn’t required by a typical backbone / rendr app. As rendr claims not to be a framework, this might be out of its scope.The text was updated successfully, but these errors were encountered: