0

I have following HTML page,

<html>
  <head>
  <title> Test Page
  </title>
</head>
<body>
  <div>
    <img src="myimg"  alt="img"/>
    <img src="myimg"  alt="img"/>
    <img src="myimg"  alt="img"/>
    <img src="myimg"  alt="img"/>
    <img src="myimg"  alt="img"/>
    <img src="myimg"  alt="img"/>
    <img src="myimg"  alt="img"/>
    ......
  </div>
</body>
</html>

As you can see in above HTML, An image element pointing to the same resource.

I want to know,

  1. How browser behaviors in above condition?
  2. Does browser get image only one time from a server?

I am just curious about performance

Mukesh Ram
  • 6,032
  • 4
  • 16
  • 35
Rakesh Chaudhari
  • 2,962
  • 1
  • 24
  • 23
  • What exactly do you want to know in your first question? – Sebastian Simon Dec 23 '16 at 04:31
  • Possible duplicate of [When multiple instances of same images are embedded in an HTML, does that load the image once?](http://stackoverflow.com/questions/11271484/when-multiple-instances-of-same-images-are-embedded-in-an-html-does-that-load-t) – Sebastian Simon Dec 23 '16 at 04:34

0 Answers0