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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -