- Your application renders in the fastboot server.
- At the end of fastboot rendering, all your Ember Data Models get serialized into the fastboot shoebox (which uses tags like
- Your application boots up in the browser. This addon's instance-initializer notices the serialized models and uses
pushPayloadto load them into the
- As your app renders in the browser, any
store.findRecord, etc will locate the already cached models.
Right now, this addon assumes that your application is using DS.JSONAPISerializer as your application's default serialization method. See https://github.com/cardstack/ember-data-fastboot/issues/3 if you're interested in making it work for any format.
ember install ember-data-fastboot
Starting with version 0.1.0 this addon requires at least ember-cli-fastboot 1.0.0-rc.1.