diff options
| author | czaks <marcin@6irc.net> | 2015-04-01 17:16:30 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-04-01 17:16:30 +0200 |
| commit | e4e01e45733488a756f457f0681dc90b28f6fa1b (patch) | |
| tree | 51c49304a0c12a818852f44fca029c7ade6d2578 | |
| parent | 4030c42bb49ae3d71c6e252861699cbea30496ba (diff) | |
smart build: define configuration variables
| -rw-r--r-- | inc/config.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php index 0ba1952b..be1bb8e1 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1181,9 +1181,20 @@ // Website favicon. // $config['url_favicon'] = '/favicon.gif'; - // EXPERIMENTAL: Try not to build pages when we shouldn't have to. + // Try not to build pages when we shouldn't have to. $config['try_smarter'] = true; + // EXPERIMENTAL: Defer static HTML building to a moment, when a given file is actually accessed. + // Warning: This option won't run out of the box. You need to tell your webserver, that a file + // for serving 403 and 404 pages is /smart_build.php. Also, you need to turn off indexes. + $config['smart_build'] = false; + + // Smart build related: when a file doesn't exist, where should we redirect? + $config['page_404'] = '/404.html'; + + // Smart build related: extra entrypoints. + $config['smart_build_entrypoints'] = array(); + /* * ==================== * Mod settings |
