|
HttpResponse::setCacheControl(PECL pecl_http >= 0.10.0) HttpResponse::setCacheControl — Set cache control Описание
static
bool HttpResponse::setCacheControl
( string $control
[, int $max_age = 0
[, bool $must_revalidate = true
]] )
Define a custom Cache-Control header, usually being private or public; Список параметров
Возвращаемые значенияReturns TRUE on success, or FALSE if control does not match one of public, private or no-cache. Смотрите также
|
|