AnsweredAssumed Answered

using cacheBust in dojoConfig cause issue in Find My Location dijit

Question asked by michaelsu on Feb 20, 2015

I am using cacheBust in dojoConfig in order to force browser to load newer Javascript files. I have "Find my location" digit in my app. The cacheBust config is causing the following issue. When I click Find My Location icon, the map will zoom to my location, but the icon is missing. I got the following 404 error:

http://js.arcgis.com/3.10/js/esri/dijit?v=0.3/images/sdk_gps_location.png

Failed to load resource: the server responded with a status of 404 (Not Found)

 

"v=0.3" is the string I used for cacheBust. It seems that the API is using cacheBust parameter when constructing icon URL and it wouldn't work.

 

Michael

Outcomes