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.
bool
$cache = true
- whether to allow caching of the download
This function can not be called statically.