HTTP_Download::setCache
HTTP_Download::setCache() –
Whether to allow caching of the download on the clients side.
Synopsis
void
HTTP_Download::setCache
(
bool
$cache = true
)
Описание
Define whether you want to allow caching of the download on the clients side.
If set to true (default), HTTP_Download will emit some caching headers like Cache-Control, Last-Modified and ETag.
Parameter
-
bool
$cache = true
- whether to allow caching of the download
Замечание
This function can not be called statically.