I have section of a website change it's bg image with jquery. I target the css inside a loop
image.fadeOut(800, function () {
image.css('background-image', 'url(img/' + images [i++] +')');
image.fadeIn(800);
});
if(i == images.length)
i = 0;
I go to Chrome's dev tools and see that it is making requests for the bg images even though they were already shown.
From the Size Content column says "(from cache)".
Will this hurt performance on the page at some point? Or is it just calling the already loaded image?