PEAR Manual
This manual is provided as a courtesy. It is not an official source. Please check pear.php.net for updated information.
void HTTP_Download::setCache (bool [$cache = true])
void HTTP_Download::setCache
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.