<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why is dojo-lite.js requested so many times? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-dojo-lite-js-requested-so-many-times/m-p/314181#M28894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have just been looking at the 4x JSAPI and noticed that the &lt;STRONG&gt;dojo-lite.js file gets requested 7 times&lt;/STRONG&gt; on a simple mapping application.&amp;nbsp; Is there any reason why the code is doing this, or any way to prevent it to ensure my app is optimized correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAMPLE APP:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/intro-mapview/live/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/intro-mapview/live/index.html"&gt;Intro to MapView - Create a 2D map | Sample | ArcGIS API for JavaScript 4.16&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(You can preview this in the network tab of the chrome debugging tools.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attached sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2020 20:40:53 GMT</pubDate>
    <dc:creator>Drew</dc:creator>
    <dc:date>2020-08-24T20:40:53Z</dc:date>
    <item>
      <title>Why is dojo-lite.js requested so many times?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-dojo-lite-js-requested-so-many-times/m-p/314181#M28894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have just been looking at the 4x JSAPI and noticed that the &lt;STRONG&gt;dojo-lite.js file gets requested 7 times&lt;/STRONG&gt; on a simple mapping application.&amp;nbsp; Is there any reason why the code is doing this, or any way to prevent it to ensure my app is optimized correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAMPLE APP:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/intro-mapview/live/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/intro-mapview/live/index.html"&gt;Intro to MapView - Create a 2D map | Sample | ArcGIS API for JavaScript 4.16&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(You can preview this in the network tab of the chrome debugging tools.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see attached sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2020 20:40:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-dojo-lite-js-requested-so-many-times/m-p/314181#M28894</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2020-08-24T20:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why is dojo-lite.js requested so many times?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-dojo-lite-js-requested-so-many-times/m-p/314182#M28895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That file is used by the workers, so each worker thread is loading it. Number of worker threads will vary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2020 22:07:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-dojo-lite-js-requested-so-many-times/m-p/314182#M28895</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2020-08-24T22:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why is dojo-lite.js requested so many times?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-dojo-lite-js-requested-so-many-times/m-p/314183#M28896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rene,&amp;nbsp;&lt;BR /&gt;It seemed odd, but makes sense now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2020 22:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-dojo-lite-js-requested-so-many-times/m-p/314183#M28896</guid>
      <dc:creator>Drew</dc:creator>
      <dc:date>2020-08-24T22:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why is dojo-lite.js requested so many times?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-dojo-lite-js-requested-so-many-times/m-p/314184#M28897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://web.dev/module-workers/" title="https://web.dev/module-workers/"&gt;Threading the web with module workers&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2020 01:56:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/why-is-dojo-lite-js-requested-so-many-times/m-p/314184#M28897</guid>
      <dc:creator>Stacy-Rendall</dc:creator>
      <dc:date>2020-10-08T01:56:41Z</dc:date>
    </item>
  </channel>
</rss>

