public function __construct([string
$destFolder = 'cache',
[The
$fileExtension = NULL]] )
Parameters
$destFolder
—
string
folder to save the cached site into. This needs to be set in framework/static-main.php as well through the variable.
$fileExtension
—
object
file extension to use, e.g 'html'. If omitted, then each page will be placed in its own directory, with the filename 'index.html'. If you set the extension to PHP, then a simple PHP script will be generated that can do appropriate cache & redirect header negotation.