Downloading the image several times, is it a Firefox or NivoSlider bug?

When I open two tabs using the Nivo Slider in each of them, I noticed that the netbug netbug tab shows several requisites of the same image each time the slide changes. It increases the page size (in mb) and memory usage / allocation for firefox.exe. After some time, my computer became very slow, and the allocation of memory in the task monitor was above 1 GB.

How to replicate it: 1- Open http://nivo.dev7studios.com/ in 2 tabs in firefox (tested in 3.6 ~ 5.0) 2- Open firebug network panel in the second tab 3- reload the second tab

here is the proof

+3
source share
4

FF 3.6 - .

http://nivo.dev7studios.com/scripts/nivo-slider/jquery.nivo.slider.js: 84

//Set first background
slider.css('background','url("'+ vars.currentImage.attr('src') +'") no-repeat');

253, 262, 284 .. " ", . , 304 .

: NivoSlider.

+6

FF 4.0.1 . Chrome (12.0.742.100) , , FF.

, NivoSlider .

+2

, , Firefox , . - - Firefox/Firebug, !

, , - . , , Firefox/Firebug.

, .

+1

. , .

, , firebug.

:

  • put display: none css - , , . , .
  • JS, $(document).ready $(window).load-theoretically,

, . 4 . . - ( , ). 2 ( ). . , .

, , 2 . , ( ), .

I still cannot find a reason or explanation for this behavior. Maybe firefox frees up some memory along the way so that images load from time to time?

+1
source

All Articles