Select to view content in your preferred language

FeatureLayers load very slowly for the first time

409
1
04-06-2023 03:46 AM
Lzy
by
New Contributor III

Hello!

The version I'm using is 4.26.5.

I used the vue @ArcGIS/croe ES module to create the feature layer and found that it loaded a lot of working files for the first render, which was slow and hindered the rendering of features. It would be much better if the browser was cached later. How can this be solved.

Snipaste_2023-04-06_18-42-36.png

Snipaste_2023-04-06_18-43-04.png

How can I speed up the loading of these workers files, thanks!

be solved.

0 Kudos
1 Reply
AndyGup
Esri Regular Contributor

Hi @Lzy, for an overview of our ESM bundle size and performance here's a link: https://github.com/Esri/jsapi-resources/tree/main/esm-samples#bundle-size-and-performance. If you require further assistance, please provide a simple, reproducible sample using github, stackblitz, or codesandbox.  We recommend using our ESM examples as a starting point for building a test sample: https://github.com/Esri/jsapi-resources/tree/main/esm-samples/jsapi-vue.

0 Kudos