Skip to content

Commit c463703

Browse files
authored
Merge pull request rails#52974 from maciej-ka/docs-api-app-accelerated-sendfile-reason
docs: add one sentence reason for having accelerated sendfile [ci-skip]
2 parents aaa6c5e + 9a8cb6f commit c463703

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

guides/source/api_app.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ file.
379379

380380
If your front-end server supports accelerated file sending, `Rack::Sendfile`
381381
will offload the actual file sending work to the front-end server.
382+
This enables Rails to finish request handling and free resources earlier.
382383

383384
You can configure the name of the header that your front-end server uses for
384385
this purpose using [`config.action_dispatch.x_sendfile_header`][] in the appropriate

0 commit comments

Comments
 (0)