Does any body know how browser(IE, Firefox, Chrome) load web page? I think they first load the html and then the js, css, image. But I’m not sure. Any body know it for specific? Or can give me a reference? I’m doing a proxy server. I proxy all the data to the browser. But the browser is still loading the web page. Thanks!
Share
Try using a plugin such as Firebug in Firefox, or the built-in developer tools in Chrome. These will show you which files are loaded, in what order, and whether they are loaded from the browser cache or from the server. You are considering the impact of the browser cache in this, right?
With nothing in the cache, the browser will naturally load the page first, since it’s the only way it can know what js, css and images to load.
Edit: as pointed out in other answers, the fact that it loads the page first doesn’t mean that it’s necessarily done with that before starting on the other resources; it may happen in parallel.