Home  >  Article  >  Backend Development  >  How many TCP connections will chrome establish when an html page with a css file and a js file is accessed? How many http requests are made?

How many TCP connections will chrome establish when an html page with a css file and a js file is accessed? How many http requests are made?

WBOY
WBOYOriginal
2016-12-01 00:00:411562browse

As the title says.
In addition, is the effect of using ajax to obtain data the same as that of pre-loading the web page? That is, are the established TCP connections and http requests the same?
Would it be very resource consuming if we had to handshake every time? Wouldn't it be better to put all elements on the same page when publishing?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn