Permalink
Browse files

Changed dependencies

Signed-off-by: himangshu <himangshu@gozoomo.com>
  • Loading branch information...
himangshuj committed Feb 29, 2016
1 parent 61dadd3 commit 9f864a5ee59dc1051493af08837081f7fc15db5f
Showing with 6 additions and 4 deletions.
  1. +4 −2 package.json
  2. +2 −2 server.js
View
@@ -13,7 +13,9 @@
"cache-manager": "^0.16.0",
"he": "^0.5.0",
"lodash": "^3.1.0",
- "phridge": "^2.0.0"
+ "phridge": "^2.0.0",
+ "prerender-redis-cache": "^0.1.6",
+ "redis": "^2.4.2"
},
"devDependencies": {
"mocha": "~1.13.0",
@@ -26,6 +28,6 @@
"prerender": "server.js"
},
"engines": {
- "node" : ">=0.12.9"
+ "node": ">=0.12.9"
}
}
View
@@ -12,9 +12,9 @@ server.use(prerender.sendPrerenderHeader());
// server.use(prerender.whitelist());
// server.use(prerender.blacklist());
server.use(prerender.logger());
-server.use(prerender.removeScriptTags());
+//server.use(prerender.removeScriptTags());
server.use(prerender.httpHeaders());
-// server.use(prerender.inMemoryHtmlCache());
+server.use(require('prerender-redis-cache'));
// server.use(prerender.s3HtmlCache());
server.start();

0 comments on commit 9f864a5

Please sign in to comment.