What is the browser kernel

云罗郡主
Release: 2018-12-19 10:07:39
Original
32680 people have browsed it

Browsers are software that we must use every day. Many people come into contact with browsers every day, but they don’t understand the core of the browser. Let’s summarize what the core of the browser is?

What is the browser kernel

1: What is the browser kernel

The browser kernel is also called the rendering engine or typesetting engine, which mainly controls the syntax of web pages. Interpret and render the web page, converting the code of the web page into a visible page. Under normal circumstances, the kernel of the browser generally uses a rendering engine.

2: Operations triggered by a URL

1. When we enter a string of URLs in the browser, and the URL is displayed in the browser, the browser When receiving the instruction, a separate thread will be opened for processing. First, it will be judged whether the address entered by the user is a reasonable address and whether it is an http request. Then the URL will be analyzed. If it is cached, the local file will be called and returned. 200, if there is no request, the browser will initiate a request.

2. Obtain the IP address through domain name resolution. The information in the browser will be requested by IP. The browser client sends a message to the server and performs data transmission and communication.

3. After entering the backend of the website, the server has a lot of code. The server will process and respond according to the execution backend of the URL. If the page has been visited and compared with the server file, 304 will be returned consistently. .

4. The browser receives the returned information and starts to download the html file, render it and build the dom tree, and use the specified js script to render and rearrange the css style, and then the page will be displayed in in the browser.

The above is a complete introduction to what the browser kernel is. If you want to know more about HTML video tutorial, please pay attention to the php Chinese website.


The above is the detailed content of What is the browser kernel. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template