# Common Chunk and Lazy Loading in Angular

DevFeed: [Common Chunk and Lazy Loading in Angular](<https://devfeed.tech/articles/common-chunk-and-lazy-loading-in-angular-21377.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2021/02/common-chunk-lazy-loading-angular-cli/>)

Published: 2021-02-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Angular](<https://devfeed.tech/topics/angular.md>), [Angular CLI](<https://devfeed.tech/topics/angular-cli.md>), [Webpack](<https://devfeed.tech/topics/webpack.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [modules](<https://devfeed.tech/topics/modules.md>)

Tags: [angular](<https://devfeed.tech/tags/angular.md>), [config](<https://devfeed.tech/tags/config.md>), [lazy-loading](<https://devfeed.tech/tags/lazy-loading.md>), [performance](<https://devfeed.tech/tags/performance.md>), [webpack](<https://devfeed.tech/tags/webpack.md>)

## AI overview

A tutorial explaining Angular lazy loading, the common.js chunk, and the Angular CLI's commonChunk configuration option. It describes how Angular Router and Webpack split JavaScript into on-demand chunks, why shared code is placed in a startup-loaded common chunk, and when disabling that behavior may improve startup speed at the cost of code duplication.

## Source excerpt

Lorem ipsum dolor sit amet