Skip to content

Commit

Permalink
add .compress() middleware. Closes #7
Browse files Browse the repository at this point in the history
before: 720ms for component-search(1)
after: 350ms
  • Loading branch information
tj committed Nov 24, 2012
1 parent 5c05716 commit ebd0691
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var express = require('express')

app.use(express.logger());
app.use(express.responseTime());
app.use(express.compress());

/**
* Parse words.
Expand Down

0 comments on commit ebd0691

Please sign in to comment.