January 2019
Beginner
132 pages
3h 14m
English
The Cache-Control header is used to indicate whether this content is cacheable, and for how long. Some of the common values for this header are as follows:
Cache directives such as no-cache, no-store, and must-revalidate exist to prevent the client from caching the response. Sometimes, the server is aware that the content on this page changes frequently, or is dependent on a source outside of its control. If none of these directives are sent, you should be able to cache the response using the provided max-age directive. This defines the number of seconds you should consider this content as fresh. After this time, the response is said to be stale and a new request ...
Read now
Unlock full access