enabling view cache, since we require server restart on theme changes it doesn't hurt

v1.18.x
psychobunny 11 years ago
parent 967b486ce1
commit b3940cd7cd

@ -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')));

Loading…
Cancel
Save