Question · NestJS course · Module 8: Caching and Performance

Compression Middleware in NestJS

Compression middleware in NestJS is used for:

Answer options

  • Validating input data
  • Automatic compression of HTTP responses (gzip/deflate)
  • Encrypting TLS connections
  • Minifying JavaScript code

You can check the correct answer by solving this task in the CodeWorlds game.