using cacheBust in dojoConfig cause issue in Find My Location dijit

3821
0
02-20-2015 02:54 PM
MichaelSu
New Contributor II

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

0 Kudos
0 Replies