Computer Networks
34 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 2.9 HTTP Cachehistorical
HTTP caching allows browsers to reuse responses and reduce repeated transfers. These notes examine cache decisions and the related request and response headers.
- 2.11 RESTfulhistorical
RESTful design is an architectural style based on HTTP. These notes organize interface conventions around resources and their state transfers.
- 2.12 URL Encodinghistorical
URL Encoding: A URL can use only English letters, Arabic numerals, and certain punctuation marks; other text and symbols cannot be used directly. Other characters need to be escaped using % character encoding.
- 2.13 Cookie and Sessionhistorical
The server creates a session and sends its identifier to the browser in a cookie. Later requests carry that identifier so the server can recognize the session.
- 2.14 What Happens After Entering a URL in the Browserhistorical
After a URL is entered, the browser parses it, resolves DNS, establishes a connection, and requests the resource. These notes follow that sequence step by step.
- 2.15 Browser Same-Origin Policy and Cross-Origin Accesshistorical
Two URLs share an origin when their scheme, host, and port match. These notes use address comparisons to explain the same-origin policy and cross-origin requests.
- 4.1 Application Layerhistorical
This page links to HTTP and DNS notes for further reading on the structure and operation of application-layer protocols.
- 5.1 Network Layerhistorical
These network-layer notes begin with routers and link related topics such as IP, ARP, ICMP, and NAT.
- 5.2 ARPhistorical
ARP resolves an IP address to a MAC address, helping a host determine the link-layer destination for the next hop.
- 5.3 ICMPhistorical
ICMP carries control messages between hosts and routers. These notes examine their meaning and roles at the network layer.