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

html - Cut text on left side inside button while centering -

plugins - CodeIgniter support on netbeans 8.0 -

php - Selecting items from MySQL for a status update feed efficiently while accounting for possible spam -