Skip to content

Commit

Permalink
Merge pull request hojberg#20 from hojberg/static_cache
Browse files Browse the repository at this point in the history
max age
  • Loading branch information
hojberg committed Apr 18, 2012
2 parents f67574a + c4e1e3b commit 7b85a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/server
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
var connect = require('connect'),
http = require('http');

var app = connect().use(connect.static('public-min'));
var app = connect().use(connect.static('public-min'), { maxAge: 365 * 24 * 60 * 60 * 1000});

http.createServer(app).listen(process.env.PORT || 3000);

0 comments on commit 7b85a27

Please sign in to comment.