koa -compress中介軟體的使用-壓縮資料 ... Z_SYNC_FLUSH // zlib是node的壓縮模組 }) // 使用 app.use((ctx, next) => { //ctx 代表響應ctx.compress = trus ...
確定! 回上一頁