vendredi 2 mars 2018

How many HTTP get() request are needed to render a single web page? one or many?

When an HTTP get() request is sent from client to server, does the server only send HTML source code to the browser initially, leaving the browser to request from the server at a later time the web objects that make up the web page, in a sequential fashion as it processes the HTML? This would imply that N HTTP get() request are needed to render a single web page, one get request for each N objects that make up a web page.

Or, upon receiving the HTTP get request, does the server send the HTML source code and all web objects needed to render the web page to a client side cache, leaving the browser to render the web page locally as it process the HTML code sequentially? This would imply that a single HTTP get request is needed to render any web page. Thank You.

Aucun commentaire:

Enregistrer un commentaire