Skip to content

Commit da944a5

Browse files
committed
Docs
1 parent a2e15e2 commit da944a5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,13 @@ When the render server wrapper connects to the JS process, it adds a `?hash=...`
194194
hash parameter is a SHA-1 hash of the serialized data that is sent in the request's body and is intended
195195
for consumption by caching layers.
196196

197-
Depending on your load, you may want to put a reverse proxy in front of the render server. Be aware that
198-
render server requests are sent as POST requests and many reverse proxies are configured by default to
199-
**not** cache POST requests.
197+
Depending on your load, you may want to use a worker farm to handle rendering.
198+
[Node's cluster module](https://nodejs.org/api/cluster.html) provides an easy way to fork a process and
199+
serve multiple instances from a single network address.
200+
201+
An alternative to worker farms is to put a reverse proxy in front of the render server. Be aware that
202+
render server requests are sent as POST requests and most reverse proxies have issues with caching POST
203+
requests.
200204

201205

202206
### Overriding the renderer

0 commit comments

Comments
 (0)