2 ms·
> Also, assuming that any static assets are served, probably a good idea to leverage sendfile. Go already leverages sendfile: https://golang.org/src/net/tcpso
by ngrilly 10y ago
> Also, assuming that any static assets are served, probably a good idea to leverage sendfile.
Go already leverages sendfile:
https://golang.org/src/net/tcpsock_posix.go#L44 https://golang.org/src/net/tcpsock_posix.go#L44