I have created a web application where I am creating polygons on the map.
The whole mapping system is working fine. But there is an issue when I clear the browser cache.
When I am clear the cache, that I am not able to load the map for the first time. I have to refresh the page after the map will load.
Here, I have attached the snapshot of the map
Here I have sent the sample of my code.
Here I have used multiple API(required API). these are the API which I want for my working functionality but these are not used in sample code, I have just added for you reference that which API I have used.
Also, this issue is only occurring in the Live server, but this issue is not producing the local server.
ESRI Mapping Sample Code