Refreshing dynamic map service layer

575
1
01-08-2013 10:40 AM
ForrestWilliams
New Contributor
After making a change to a UniqueValueRenderer and refreshing the dynamic map service layer that contains this renderer, none of the changes are reflected. Attempting to setDisableClientCaching(true) when the dynamic map service object is created and still no change after the refresh() is called. The only way we are able to see the change, is to zoom out and back in or change the map's level. If I remember correctly, simply panning did not reflect the change as well.

This is using the ArcGIS JavaScript API 3.2 with a map service hosted on ArcGIS Server 10.1 (non-SP1).

Any ideas?
0 Kudos
1 Reply
DimitarKolev
New Contributor II
Same problem here.
IE9 seems to cache the map layers and does not refresh the map layers .
I don't know how to clear the browser cache from the client side - JavaScript code.
Manually clearing the IE9 browser cache will refresh the map layers.

Firefox browser seems to work OK.

Is there any way to set the IE cache off on the client side?
0 Kudos