Skip to content

Commit

Permalink
Remove outdated documentation (#20714)
Browse files Browse the repository at this point in the history
Fixes #20487
  • Loading branch information
timneutkens authored Jan 4, 2021
1 parent 9a0d704 commit 74166ea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 52 deletions.
47 changes: 0 additions & 47 deletions docs/api-reference/next.config.js/build-target.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/api-reference/next.config.js/compression.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Next.js provides gzip compression to compress rendered content and

# Compression

Next.js provides [**gzip**](https://tools.ietf.org/html/rfc6713#section-3) compression to compress rendered content and static files. Compression only works with the [`server` target](/docs/api-reference/next.config.js/build-target.md#server-target). In general you will want to enable compression on a HTTP proxy like [nginx](https://www.nginx.com/), to offload load from the `Node.js` process.
Next.js provides [**gzip**](https://tools.ietf.org/html/rfc6713#section-3) compression to compress rendered content and static files. In general you will want to enable compression on a HTTP proxy like [nginx](https://www.nginx.com/), to offload load from the `Node.js` process.

To disable **compression**, open `next.config.js` and disable the `compress` config:

Expand Down
4 changes: 0 additions & 4 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,6 @@
"title": "CDN Support with Asset Prefix",
"path": "/docs/api-reference/next.config.js/cdn-support-with-asset-prefix.md"
},
{
"title": "Build Target",
"path": "/docs/api-reference/next.config.js/build-target.md"
},
{
"title": "Custom Webpack Config",
"path": "/docs/api-reference/next.config.js/custom-webpack-config.md"
Expand Down

0 comments on commit 74166ea

Please sign in to comment.