Hi, I want to know how to use findAll function to get cached records from store, without querying to server, everytime I use findAll, Ember go to server.
peekAll should do the trick
1 Like
@jasonmit that’s right!
Additionally you can check out the adapter methods shouldReloadAll and shouldBackgroundReloadAll which make it possible to define when findAll makes a request and when it should just use the cached data in the store.