How does IE download resources

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just wanted to know how IE requests resources like images and external
scripts (like javascript) when it parses the html document. Does it spawn a
thread to request a resource as it hits that point and continues down the
document?

Take for eg

<html>
<head>
<script language="JavaScript" src="/javascript/menu.js"></script>
</head>
<body>
<script>printMenu();</script>
</body>
</html>

In this case printMenu() is a function declared in menu.js. So will IE have
downloaded this .js file before hitting the call to printMenu() in the body ?

Thanks
Swami
 
Back
Top