diff options
| author | czaks <marcin@6irc.net> | 2015-04-05 18:48:53 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-04-05 18:48:53 +0200 |
| commit | dc2928a14dcd29bf8502b6a9dc1357ad0e624251 (patch) | |
| tree | d4dc2c639acbbb95abff80e1d443ed1e5ac44dab /inc/config.php | |
| parent | b8fe93fd8fa29b3c7793f035b7daf1783c352c05 (diff) | |
cache_config preliminary release
Diffstat (limited to 'inc/config.php')
| -rw-r--r-- | inc/config.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php index be1bb8e1..3a63054c 100644 --- a/inc/config.php +++ b/inc/config.php @@ -137,6 +137,11 @@ // Tinyboard to use. $config['cache']['redis'] = array('localhost', 6379, '', 1); + // EXPERIMENTAL: Should we cache configs? Warning: this changes board behaviour, i'd say, a lot. + // If you have any lambdas/includes present in your config, you should move them to instance-functions.php + // (this file will be explicitly loaded during cache hit, but not during cache miss). + $config['cache_config'] = false; + /* * ==================== * Cookie settings |
