1. response 返回JSON數據或文件時,進行壓縮(Gzip)npm
npm install compression --save // 肯定在全部中間件以前加載 var compression = require('compression'); app.use(compression());