The HttpResponse
PHP Manual

HttpResponse::getCacheControl

(PECL pecl_http >= 0.10.0)

HttpResponse::getCacheControlGet cache control

说明

static string HttpResponse::getCacheControl ( void )

Get current Cache-Control header setting.

返回值

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

参见


The HttpResponse
PHP Manual