dojo - Using jsonRest with filteringSelect widget -
i start working onchanging widgets can rebuild using jsonrest rather memory, filteringselect , dgrid in app.
after fixed filteringselect, replaced memory jsonrest , tested works well, tried use store/cache it. testing showed caching not happening, , when searched web, got someone's answer:
this issue tells cache not working filteringselect, need use request. on other hand, "request" requests data it's not option.
can give right answer: 1. cache work jsonrest on filteringselect? 2. can use dgrid jsonrest , cache also?
thanks
while jsonrest
can used cache
fine (regardless of widget consumes it), important thing consider (which mailing list post points out) dojo/store/cache
not cache query
calls store, get
calls, since query
calls can include variety of range, filter, , sort parameters. don't think you'd effect out of using cache
you're expecting.
if service doesn't have large number of records, option use dojo-smore's requestmemory store, middle ground between memory
, jsonrest
- requests full data set once (though request store created), stores entire set in memory query
, get
calls.
Comments
Post a Comment