mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-28 01:26:16 +01:00
enabling view cache, since we require server restart on theme changes it doesn't hurt
This commit is contained in:
@@ -189,6 +189,8 @@ module.exports = function(app, data) {
|
||||
app.set('view engine', 'tpl');
|
||||
app.set('views', viewsPath);
|
||||
|
||||
app.enable('view cache');
|
||||
|
||||
app.use(express.compress());
|
||||
|
||||
app.use(express.favicon(path.join(__dirname, '../../', 'public', meta.config['brand:favicon'] ? meta.config['brand:favicon'] : 'favicon.ico')));
|
||||
|
||||
Reference in New Issue
Block a user