Use nginx instead of resin servlet to compress javascript and css.
Set worker_processes to 8 for nginx.