Which of the following middleware is used to compress the response body before sending it to the client?

33. Which of the following middleware is used to compress the response body before sending it to the client?

  1. Koa.compression
  2. Koa.compress
  3. Koa.compression.app

Answer: B) Koa.compress

Explanation:

koa.compress middleware is used to compress the response body prior to sending it to the client.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.