HTTP_Download::setCacheControl()

HTTP_Download::setCacheControl() --  Control cache privacy and validity.

Synopsis

Описание

Define the contents of the Cache-Control header.

If set to set to "public", proxies are adviced to cache the response, if set to "private", proxies are adviced to do not.

The maxage paramter controls the amount of seconds an entity is suggested to be cached. Many user agents won't even send a request for subsequent requests to the same resource within the specified time frame.

Параметр

Заметка

Эта функция не должна вызываться статически.

    Поддержать сайт на родительском проекте КГБ