HTTP_Download::setCache

HTTP_Download::setCache()

HTTP_Download::setCache() --  Whether to allow caching of the download on the clients side.

Description

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

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.