what's the best way to have the browsers cache all the files in /public/, i don't want them to even ask the server for modification times, basically once the file is downloaded the browser will assume it's up-to-date forever

Having a tough time trying to connect to my mongo db through an express app. The mongoDb is hosted on mongoHq and my express app deployed to nodejitsu. I can connect to the DB no problem using the mongo CLI. But not through the express app. I can't see anything obvious that I'm doing wrong. The error is "Error: failed to connect to [alex.mongohq.com:10001]" Any ideas?

trypwire: I've installed mongodb locally using npm install mongo which I believe grabs the latest version... however in my package.json, I've declared a dependency to mongodb v 1.1.8, which I believe is the latest version that nodejitsu supports... this error only comes up about 50% of the time when I deploy to nodejitsu... however, when the deploy is successful and I navigate to my web apps URL, I get this error:

trypwire: thanks for the code, though I'm still getting the error: An error has occurred: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}. The deployment goes fine... but when I try to browse to my app, I get that error message.... strange...

I want all every request logged to two files, the only difference being one file uses the json format and the other file doesn't. I also want some logs for specific actions, for instance: create a log file which logs all POST commands, and include in that log the post data