启用 KeepAlive(Apache 2.0)
HTTP / 1.0 的 Keep-Alive 扩展和 HTTP / 1.1 的持久连接功能提供了长期的 HTTP 会话,允许通过同一 TCP 连接发送多个请求。在某些情况下,这已经证明,对于包含许多图像的 HTML 文档,延迟时间几乎可以加快 50%。要启用 Keep-Alive 连接,请将 KeepAlive 设置为 On。 - Apache Docs
# Enable KeepAlive
KeepAlive On
# OPTIONAL — limit the amount of requests per connection with 'MaxKeepAliveRequests'
# Example: MaxKeepAliveRequests 500
# OPTIONAL — limit the amount of time the server will wait before it closes
# the connection with 'KeepAliveTimeout'
# Example: KeepAliveTimeout 500