<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: The Complete Guide To Angular Load Time Optimization	</title>
	<atom:link href="https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/feed/" rel="self" type="application/rss+xml" />
	<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/</link>
	<description>Advanced Angular Training Made Simple</description>
	<lastBuildDate>Mon, 20 May 2024 15:30:28 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>
		By: Mihai-Alexandru Iordache		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-75960</link>

		<dc:creator><![CDATA[Mihai-Alexandru Iordache]]></dc:creator>
		<pubDate>Wed, 02 Dec 2020 17:20:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-75960</guid>

					<description><![CDATA[Hello Christian,

I would like to ask you a question about an issue I&#039;ve encountered recently. Currently I&#039;m working on a project that is build in Angular 8, but some of the features are written in react by a 3rd party. In order to render those react components inside our angular space, the vendor exposed their API on window, and from there i access it within angular services using syntax declare var vendorApi: any;.
Everything works &quot;well&quot; locally, but when we boundle the app using ng build with some configurations specified in angular.json some of the lazy loaded modules are crashing.  
We tried to load the 3rd party scripts in three different ways:
- added them in index.html
- added them in angular.json under scripts []
- load them dynamically when user click on a certain route, using a routeResolver (so before that modules which requires vendor&#039;s stuff gets lazy loaded, scripts to be present in the browser)

With any of these approaches  i&#039;m getting an error related to webpack I think (something like. cannot read property &quot;call&quot; of undefined) from within bootstrapp.js &#124; zone-evergreen.js.prebuild-optimizer.js.


Now, the last thing i&#039;ve tried was to set vendorChunk: true and commonChunk: false in the angular.json file and it seems to almost work as before. Can you explain me how&#039;s that? What&#039;s the reason why now it&#039;s working?
And performance wise what will be the impact of settings those values as described?]]></description>
			<content:encoded><![CDATA[<p>Hello Christian,</p>
<p>I would like to ask you a question about an issue I&#8217;ve encountered recently. Currently I&#8217;m working on a project that is build in Angular 8, but some of the features are written in react by a 3rd party. In order to render those react components inside our angular space, the vendor exposed their API on window, and from there i access it within angular services using syntax declare var vendorApi: any;.<br />
Everything works &#8220;well&#8221; locally, but when we boundle the app using ng build with some configurations specified in angular.json some of the lazy loaded modules are crashing.<br />
We tried to load the 3rd party scripts in three different ways:<br />
&#8211; added them in index.html<br />
&#8211; added them in angular.json under scripts []<br />
&#8211; load them dynamically when user click on a certain route, using a routeResolver (so before that modules which requires vendor&#8217;s stuff gets lazy loaded, scripts to be present in the browser)</p>
<p>With any of these approaches  i&#8217;m getting an error related to webpack I think (something like. cannot read property &#8220;call&#8221; of undefined) from within bootstrapp.js | zone-evergreen.js.prebuild-optimizer.js.</p>
<p>Now, the last thing i&#8217;ve tried was to set vendorChunk: true and commonChunk: false in the angular.json file and it seems to almost work as before. Can you explain me how&#8217;s that? What&#8217;s the reason why now it&#8217;s working?<br />
And performance wise what will be the impact of settings those values as described?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Leon Grin		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-61391</link>

		<dc:creator><![CDATA[Leon Grin]]></dc:creator>
		<pubDate>Fri, 21 Aug 2020 21:50:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-61391</guid>

					<description><![CDATA[The highest opportunity for improvement Page Speed Insights keeps me warning is to implement the `crossorigin` attribute properly on js files. I don&#039;t have a clue on how to fix this. This information is missing in this article. It&#039;s a super important topic.

A preload  was found for &quot;https://.../runtime-es2015.10c38323de6d682b8415.js&quot; but was not used by the browser. Check that you are using the `crossorigin` attribute properly.]]></description>
			<content:encoded><![CDATA[<p>The highest opportunity for improvement Page Speed Insights keeps me warning is to implement the `crossorigin` attribute properly on js files. I don&#8217;t have a clue on how to fix this. This information is missing in this article. It&#8217;s a super important topic.</p>
<p>A preload  was found for &#8220;https://&#8230;/runtime-es2015.10c38323de6d682b8415.js&#8221; but was not used by the browser. Check that you are using the `crossorigin` attribute properly.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Guillermo Moran-Arreola		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-12774</link>

		<dc:creator><![CDATA[Guillermo Moran-Arreola]]></dc:creator>
		<pubDate>Mon, 16 Sep 2019 21:59:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-12774</guid>

					<description><![CDATA[Immer ausgezeichnete Artikeln :)]]></description>
			<content:encoded><![CDATA[<p>Immer ausgezeichnete Artikeln 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Siscka		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-8549</link>

		<dc:creator><![CDATA[Siscka]]></dc:creator>
		<pubDate>Sun, 18 Aug 2019 14:23:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-8549</guid>

					<description><![CDATA[This is great article even tho i&#039;m still a bit confused.

How would you activate GTM only once our app has initially been loaded ?]]></description>
			<content:encoded><![CDATA[<p>This is great article even tho i&#8217;m still a bit confused.</p>
<p>How would you activate GTM only once our app has initially been loaded ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Randall		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7821</link>

		<dc:creator><![CDATA[James Randall]]></dc:creator>
		<pubDate>Tue, 13 Aug 2019 14:14:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-7821</guid>

					<description><![CDATA[Great article! I was hoping you might be able to clarify what you mean by having a &quot;Main shared&quot; module. I think I understand the basic principle, but in doing tests of my own here, I&#039;m still seeing somewhat large bundle sizes within the &quot;main&quot; chunk.


Any help would be appreciated, thanks!]]></description>
			<content:encoded><![CDATA[<p>Great article! I was hoping you might be able to clarify what you mean by having a &#8220;Main shared&#8221; module. I think I understand the basic principle, but in doing tests of my own here, I&#8217;m still seeing somewhat large bundle sizes within the &#8220;main&#8221; chunk.</p>
<p>Any help would be appreciated, thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christian Lydemann		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7370</link>

		<dc:creator><![CDATA[Christian Lydemann]]></dc:creator>
		<pubDate>Sat, 10 Aug 2019 11:21:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-7370</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7126&quot;&gt;Hisham A&lt;/a&gt;.

It is basically the same, performance wise, as with a Node server for hosting. You still need to:
1. Download, parse and execute the server html
2. Download, parse and execute client bundles

The same trade-off will happen here:
- FCP will improve
- TTI will worsen]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7126">Hisham A</a>.</p>
<p>It is basically the same, performance wise, as with a Node server for hosting. You still need to:<br />
1. Download, parse and execute the server html<br />
2. Download, parse and execute client bundles</p>
<p>The same trade-off will happen here:<br />
&#8211; FCP will improve<br />
&#8211; TTI will worsen</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christian Lydemann		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7371</link>

		<dc:creator><![CDATA[Christian Lydemann]]></dc:creator>
		<pubDate>Sat, 10 Aug 2019 11:21:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-7371</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7119&quot;&gt;Dmitry&lt;/a&gt;.

Just in the assets array :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7119">Dmitry</a>.</p>
<p>Just in the assets array 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christian Lydemann		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7372</link>

		<dc:creator><![CDATA[Christian Lydemann]]></dc:creator>
		<pubDate>Sat, 10 Aug 2019 11:21:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-7372</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7207&quot;&gt;Lars Jeppesen&lt;/a&gt;.

Thanks, glad you liked it :)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7207">Lars Jeppesen</a>.</p>
<p>Thanks, glad you liked it 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Lars Jeppesen		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7207</link>

		<dc:creator><![CDATA[Lars Jeppesen]]></dc:creator>
		<pubDate>Fri, 09 Aug 2019 08:30:00 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-7207</guid>

					<description><![CDATA[Very informative, thanks]]></description>
			<content:encoded><![CDATA[<p>Very informative, thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Christian		</title>
		<link>https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7128</link>

		<dc:creator><![CDATA[Christian]]></dc:creator>
		<pubDate>Thu, 08 Aug 2019 19:29:40 +0000</pubDate>
		<guid isPermaLink="false">https://christianlydemann.com/?p=4132#comment-7128</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7119&quot;&gt;Dmitry&lt;/a&gt;.

Thanks!
Just put it in the assets array.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://christianlydemann.com/the-complete-guide-to-angular-load-time-optimization/#comment-7119">Dmitry</a>.</p>
<p>Thanks!<br />
Just put it in the assets array.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/1321 objects using Memcache
Page Caching using Disk: Enhanced 
Minified using Disk
Database Caching using Disk (Request-wide modification query)

Served from: christianlydemann.com @ 2026-02-22 17:31:18 by W3 Total Cache
-->