I posted this on the ESRI forum a while back but got no response.
PROBLEM: GetImageUrl is called twice resulting in two trips to the server if caching is off.
QUESTION: How can this be prevented (other than turn browser caching on)?
HOW TO REPRODUCE:
- Run a tool like fiddler2 to monitor IP traffic
- Resize the browser
Notice that two identical requests are sent:
A single call to map._resize results in getImageUrl being called twice (once for the resize and once for the change of extent).
I am looking for a way to eliminate the redundant call with a minimal amount of coding.