- this.store.find('modelType'); always hits the server, because no ID is given, and there may be new records on the server. Use find in the application route, and all in other places to avoid polling the server every time.
- this.store.find('modelType', model_id); only hits the server if the model with the given type and ID is not already in the cache.
Last active
August 29, 2015 13:57
-
-
Save macu/9369304 to your computer and use it in GitHub Desktop.
Compiled notes on Ember, things to be aware of
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment