previousHTTP_Download::setGzip (Previous) (Next) HTTP_Download::setCacheControlnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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 )

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.

previousHTTP_Download::setGzip (Previous) (Next) HTTP_Download::setCacheControlnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.