-
If you return a promise
beforeModel,model, andafterModelin a route, it will wait to resolve thepromisebefore transitioning into the route. This is helpful when using loading and error substate templates. -
All ember data records go into a global cache. There is not a cache per query,