Today, I reviewed the HTTP connections.
HTTP connections
Non-persistent HTTP
- At most one object sent over TCP connection
- connection then closed
- Downloading multiple objects required mutiple connections
Persistent HTTP
- Multiple objects can be sent over single TCP connection between client, server.
Here is the picture describing Non-persistent HTTP
And this is the Persistent HTTP.
In the Web server, we have "Conditional GET" which means "don't send object if cache has up-to-date cahced version."
- Cache: specify date of cached copy in HTTP request. --> If-modified-since: <date>
- Server: response contains no object if cached copy is up-to-date --> HTTP/1.0 304 Not modified
'Computer Science ๐ > Network Programming ๐ฐ๏ธ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
NAT, Apr/14/2023 (0) | 2023.04.15 |
---|---|
DNS(1), Apr/12/2023 (0) | 2023.04.13 |
HTTP(2), Apr/11/2023 (0) | 2023.04.12 |
HTTP(1), Apr/11/2023 (0) | 2023.04.12 |
IP fragmentation, reassembly, Apr/7/2023 (0) | 2023.04.08 |