Lesson 8 - Content Distribution Flashcards
What does HTTP stand for?
HyperText Transfer Protocol (HTTP)
What is a Stateless Server?
A stateless server is a server that retains no information about a client request after it has processed it
What is typically is in an HTTP Request?
- method = GET, POST, etc
- URL = index.html
- Version number
- Headers -> Referer, User Agent, etc
What does the Referer header do?
Located in the HTTP Request.
It tells what caused the page to be requested.
What does the User Agent header do?
Located in the HTTP Request.
It tells what client software (chrome, firefox, etc) the request came from.
What is typically in an HTTP Response?
- HTTP Version
- Response Code
- Location (for redirection)
- Server (indicates server software)
- Allow (indicates what HTTP methods are allowed)
- Content Encoding (if it is compressed, etc)
- Content Length (in terms of bytes)
- Expires
- Last Modified
What type of response code is 100?
Informational
What type of response code is 200?
Success
What type of response code is 300?
Redirect
What type of response code is 400?
Error
What type of response code is 500?
Server Error
What are Persistent Connections?
- Allows multiple request/response on single TCP connection
- Delimiters indicate end of request
- Content-length (so server has to know how large the thing is in advance)
What is Pipelining?
- The client sends a request as soon as it sees a referenced object
- Often combined with Persistent Connections
What two places are caches typically located?
- In the browser
* On a network
What are the benefits of caching?
- Reduced transit costs of local ISP
* Improved performance for local clients