javascript - Server requesting image every time -


i´m getting strange behaviour when deployed web app on windows server microsoft iis.

creating image object

 img = new image() ;   img.src = 'someimg.png' ;  img.addeventlistener('load', incrementimagecount ) ; 

i´m doing image preloading via javascript , locally works perfect, when deploy on server browser request image every time it´s draw or redraw. have awful looks while it´s loading. in resources on web inspector see same images, multiple times.

any ideas why may happening?


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -