December 2019
Intermediate to advanced
510 pages
11h 33m
English
The HTTP 1.1 caching specification (https://tools.ietf.org/html/rfc7234) describes how caches should behave over HTTP. The main header related to HTTP caching is the Cache-Control header. This header is used to specify directives in the request and response. It is also essential to note that the Cache-Control directives that are defined in the request and the response are independent. The following diagram shows a typical request-response workflow:

The schema describes the interaction between a generic client and a server with a caching layer between them.
First, the client requests a resource from the server, ...