etsy/supergrep — pull request #10 by Trott (2014-04-30 19:25:49+00:00)
Title: update for expressjs >= 4.0.0

The current version in master does not work out of the box because `npm install` will install express 4.1.x and all the middleware stuff breaks. These changes fix it all so expressjs 4.0.0 through current will work.

Not sure if node 0.6.0 works, might want to bump that to 0.8.0 or even 0.10.0 in package.json, but that's probably neither here nor there.

The `staticCache` middleware is no longer supported in Express JS, so I took it out. I wouldn't be surprised if the static server caches by default or something, but if it doesn't and it's a big deal, should be easy enough to dial in https://github.com/isaacs/st or something similar.

I did not do crazy extensive testing and there are, alas, no pre-existing tests in the code base that I'm seeing, but hopefully these are straightforward enough that any problems should be evident...