i am working on a problem where the background image set in mxGraph is downloading the image when the user moves any object on the screen.
I can see in the firebug and chrome the mxClient.js is downloading the image causing this flicker . The following is the code from that script.
this.shiftPreview1.parentNode.removeChild(this.shiftPreview1);
this.shiftPreview1 = null;
this.container.appendChild(c.parentNode);
i can see that when the appendChild is called the browser downloads the image. So is there anyway in java script/mxgraph where i can avoid this .
Can appendChild on a container take the image from the cache instead of downloading again ?