Skip to content

Commit

Permalink
docs: fix custom server link in adapter-node compressing responses se…
Browse files Browse the repository at this point in the history
…ction (#12033)
  • Loading branch information
Sandr0x00 authored Mar 25, 2024
1 parent 7d74637 commit 4b999c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/25-build-and-deploy/40-adapter-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Development dependencies will be bundled into your app using [Rollup](https://ro

You will typically want to compress responses coming from the server. If you are already deploying your server behind a reverse proxy for SSL or load balancing, it typically results in better performance to also handle compression at that layer since Node.js is single-threaded.

However, if you're building a [#custom-server](custom server) and do want to add a compression middleware there, note that we would recommend using [`@polka/compression`](https://www.npmjs.com/package/@polka/compression) since SvelteKit streams responses and the more popular `compression` package does not support streaming and may cause errors when used.
However, if you're building a [custom server](#custom-server) and do want to add a compression middleware there, note that we would recommend using [`@polka/compression`](https://www.npmjs.com/package/@polka/compression) since SvelteKit streams responses and the more popular `compression` package does not support streaming and may cause errors when used.

## Environment variables

Expand Down

0 comments on commit 4b999c8

Please sign in to comment.