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.

Whether to gzip the download on the fly or not. (requires ext/zlib) (Previous) Control cache privacy and validity. (Next)
Last updated: Mon, 22 Sep 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.