Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ to the browser it undergoes the below process:
* Parsing - HTML, CSS, JS
* Rendering - Construct DOM Tree → Render Tree → Layout of Render Tree →
Painting the render tree
* Caching - The browser caches the documents received to prevent if from making a request to google's servers as long as the documents are not modified

Browser
-------
Expand Down Expand Up @@ -663,6 +664,15 @@ Page Rendering
via Direct3D/OpenGL. The GPU command buffer(s) are flushed to the GPU for
asynchronous rendering and the frame is sent to the window server.

Caching
-------
* The browser caches the documents received to prevent if from making a request to google's servers as long as the documents are not modified.
* When a request is made for that same resource in the future, the browser sends an HTTP request with the header `If-Not-Modified:`.
* The header's value is the value of `Last-Modified:` header of the previous request
* The server compares the values. If they are the same the server sends an HTTP `304 Not Modified` response with an empty body.
* The browser renders the documents it has in its cache.


GPU Rendering
-------------

Expand Down