내가 압축 미들웨어이 방법을로드, 표현 라우터 또는 응답이 이미 압축되어 있습니까?Node.js를 특급 기반의 Node.js를 응용 프로그램에서 라우터 및 압축
const router = express.Router();
router.use(compression()); // Is this needed or not?
router.get(...); // and all other API methods
app.use("/api", router);
app.use("/", express.static("./pages"));
설명해 주셔서 감사합니다.