Skip to content
Browse files

Fix issue #18

  • Loading branch information...
1 parent 8da6e43 commit 91151ca366c7ca2e5c50052261117ca42dc86ff4 @JohnMcLear JohnMcLear committed May 21, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 server.js
View
5 server.js
@@ -118,6 +118,11 @@ function requestLog(code, path, desc)
//var io = io.listen(server);
var io = require('socket.io').listen(server)
+io.enable('browser client minification'); // send minified client
+io.enable('browser client etag'); // apply etag caching logic based on version number
+io.enable('browser client gzip'); // gzip the file
+io.set("polling duration", 10); // allow for long polling
+io.set('log level', 1); // reduce logging
var messageHandler = require("./MessageHandler");
messageHandler.setSocketIO(io);

0 comments on commit 91151ca

Please sign in to comment.
Something went wrong with that request. Please try again.