November 2017
Intermediate to advanced
420 pages
10h 29m
English
The HTTP Cache-Control directive defines the HTTP response caching policies. You can use it for enabling the caching of the RESTful web API results for a specified interval. Here is a quick summary of the important HTTP Cache-Control directives:
|
HTTP Cache-Control directive |
Description |
|
public |
In this directive, public resources can be cached by the client and all intermediate public proxies. |
|
private |
In this directive, private resources can be cached only by the client. |
|
max-age |
This directive specifies how long a resource cached on the client is valid (measured in seconds). |
|
smax-age |
This property specifies the maximum age for a shared cache such as proxy cache (for example, content ... |