This is the code:
// Only gzip javascript files:
gzip.staticGzip(__dirname + '/public', { matchType: /javascript/ })
This is the node.js module: https://github.com/nateps/connect-gzip
It signifies compression only for javascript files. How can I specify compression for files either javascript or css? since I want to enable compression for both.