Hello,
I have just been looking at the 4x JSAPI and noticed that the dojo-lite.js file gets requested 7 times on a simple mapping application. Is there any reason why the code is doing this, or any way to prevent it to ensure my app is optimized correctly?
SAMPLE APP:
Intro to MapView - Create a 2D map | Sample | ArcGIS API for JavaScript 4.16
(You can preview this in the network tab of the chrome debugging tools.)
see attached sample
Drew
Threading the web with module workers ?
Thanks Rene, It seemed odd, but makes sense now.
That file is used by the workers, so each worker thread is loading it. Number of worker threads will vary.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.