|
|
|
|
|
by simonrobb
4305 days ago
|
|
"Angular-data is very optimistic when it comes to caching. If you do DS.find('user', 5) angular-data will first look for that user in the data store. If that user is already in the data store then the promise returned by DS.find('user', 5) will immediately resolve with the user. If no user exists then (if using the http adapter) a GET request will be made, and the user returned by the server will be injected into the data store." I couldn't find anything in the docs about invalidation. Is anybody aware of how to force invalidation of an object/collection? |
|