http://webkit.org/blog/166/optimizing-page-loading-in-web-browser/

webkit reduced page load time on high-latency networks by starting all  
external media (images and css) network loads prior to doing any  
evaluation of script.

I quickly looked at if mozilla did something similar, but I am not  
sure we do.  My test case was pretty simple, a document containing one  
script tag, and and image:

<html>
<head>
<script src="http://10.1.1.1/wait_forever.js";></script>
</head>
<img src="test.jpg">
<p>
</html>

Then I look at the network connection (via live http headers).  I am  
sure ngrep would also work.

What I see is a request goes out for the document, then a request for  
the script goes out which eventually times out.  After the timeout, i  
see the request for the image.

Should we do something similar?  Is there a  better solution?
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to