Use pg instead of pg.js.
Compress images.
Enable gzip compression.