Cached images?

Markup is
<div id="slider">
 <div data-img="img/1.jpg"></div>
 <div data-img="img/2.jpg"></div>
 <div data-img="img/3.jpg"></div>
 <div data-img="img/4.jpg"></div>

With js I make the background of a block of attribute data-img. Whether the browser will cache these images?
July 8th 19 at 15:56
1 answer
July 8th 19 at 15:58
If your browser settings and allow servers, then caches. From the point of view of the browser the picture is picture - no matter where it specifically requested.

Find more questions by tags BrowsersJavaScript