Configuration
Response compression at the Node host
Next.js Node hosting supports gzip compression for eligible responses. Set compress:false only when an approved host or reverse proxy takes responsibility. Check actual Content-Encoding, Vary and transfer size for representative responses; this flag is not an external CDN setting. Source: https://nextjs.org/docs/pages/api-reference/config/next-config-js/compress. Documentation-reviewed illustrative draft; installed declarations and runtime not verified.
Formal Syntax & Structure
nextjs syntaxnextjs
compress: booleanWorking Example
Example Snippetnextjs
export default {compress:false}