Open In App

HTTP headers | cache-control

The Cache-Control header is a general header, that specifies the caching policies of server responses as well as client requests. Basically, it gives information about the manner in which a particular resource is cached, location of the cached resource, and its maximum age attained before getting expired i.e. time to live.

Syntax:



Cache-Control: <directive> [, <directive>]*

Directives: This header accept 15 directive all of the described below:

Examples:



Supported Browsers: The browsers are compatible with HTTP Cache-Control header are listed below:

Article Tags :