HTTP headers | cachecontrol (original) (raw)

HTTP headers | cache-control

Last Updated : 16 Jun, 2020

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: [, ]*

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: