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
Post a Comment