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 - Unusual behaviour when drawing lots of images onto a large canvas -

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

javascript - Chart.js - setting tooltip z-index -