The HttpResponse
PHP Manual

HttpResponse::getCacheControl

(PECL pecl_http >= 0.10.0)

HttpResponse::getCacheControlGet cache control

Description

static string HttpResponse::getCacheControl ( void )

Get current Cache-Control header setting.

Return Values

Returns the current cache control setting as a string like sent in a header.

See Also


The HttpResponse
PHP Manual