# Purpose of Lazy Loading in Ember Engines? Meaning of Set LazyLoading as True or False?

**URL:** <https://discuss.emberjs.com/t/purpose-of-lazy-loading-in-ember-engines-meaning-of-set-lazyloading-as-true-or-false/16358>\
**Category:** Uncategorized\
**Created:** [March 25, 2019, 7:34am UTC](https://discuss.emberjs.com/t/purpose-of-lazy-loading-in-ember-engines-meaning-of-set-lazyloading-as-true-or-false/16358 "2019-03-25T07:34:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivu](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/shivu/32/16180_2.png) [@Shivu](https://discuss.emberjs.com/u/Shivu)\
**Post date:** [March 25, 2019, 7:34am UTC](https://discuss.emberjs.com/t/purpose-of-lazy-loading-in-ember-engines-meaning-of-set-lazyloading-as-true-or-false/16358/1 "2019-03-25T07:34:37Z")

</div>

[//index.js](https://index.js)

lazyLoading: true,

isDevelopingAddon() { return true; }

Also Why We use the above lines in index.js. Kindly Clarify.

---

<div class="post-metadata">

**Author:** ![dknutsen](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/dknutsen/32/16471_2.png) [@dknutsen](https://discuss.emberjs.com/u/dknutsen)\
**Post date:** [March 25, 2019, 2:29pm UTC](https://discuss.emberjs.com/t/purpose-of-lazy-loading-in-ember-engines-meaning-of-set-lazyloading-as-true-or-false/16358/2 "2019-03-25T14:29:32Z")

</div>

Well `isDevelopingAddon’ is just for triggering live reload updates on changes (see the [ember cli docs](https://ember-cli.com/api/classes/Addon.html#method_isDevelopingAddon)). Engine lazy loading is a way to keep your initial app bundle size smaller, only loading the engine (from a separate file) when it is first requested.

From the engine docs:

> Lazy loading - An engine can allow its parent to boot with only its routing map loaded. The rest of the engine can be loaded only as required (i.e. when a route in an engine is visited). This allows applications to boot faster and limit their memory consumption.

And there’s a section in [the ember engine guides](http://ember-engines.com/guide/lazy-loading) about it.

---

<div class="post-metadata">

**Author:** ![Shivu](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/shivu/32/16180_2.png) [@Shivu](https://discuss.emberjs.com/u/Shivu)\
**Post date:** [March 27, 2019, 7:14am UTC](https://discuss.emberjs.com/t/purpose-of-lazy-loading-in-ember-engines-meaning-of-set-lazyloading-as-true-or-false/16358/3 "2019-03-27T07:14:31Z")

</div>

Thanks for getting back. Understandable Reply.
