Home > PHP > Function > > HttpResponse::getCacheControl()

HttpResponse::getCacheControl()

HttpResponse::getCacheControl - Get cache control

Syntax

static HttpResponse::getCacheControl ()

Arguments

-

Description

Get current Cache-Controlheader setting.

Version

PHP PECL pecl_http >= 0.10.0

Return value

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