Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Fixed consolidate dying on behalf of a cache=true, it needs to be cah…
Browse files Browse the repository at this point in the history
…ce=memory
  • Loading branch information
liorkesos committed Feb 6, 2014
1 parent f0eb648 commit 752854f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ module.exports = function(app, passport, db) {

// Prettify HTML
app.locals.pretty = true;

// cache=memory or swig dies in NODE_ENV=production
app.locals.cache = 'memory';

// Should be placed before express.static
// To ensure that all assets and data are compressed (utilize bandwidth)
app.use(express.compress({
Expand Down

0 comments on commit 752854f

Please sign in to comment.