Case Environment:
System type
IP Address
Host Name
Required Software
Centos 6.5 64bit
192.168.100.150
Httpd-2.2.17.tar.gz
Note: Compile the command at the time of installation
./configure--prefix=/usr/local/httpd--enable-cgi--enable-rewrite--enable-so--enable-deflate--enable-expires
One, Apache optimized to maintain the connection, Web page transmission compression, page cache time;
1. Keep the connection, long link (keep-alive):
Role: The HTTP protocol is a sub-protocol of TCP, HTTP establishes a connection to establish a TCP connection, the disconnection also requires a port TCP connection, the establishment and disconnection of TCP consumption of resources through the HTTP connection to maintain can be saved. For http/1.1, as much as possible to maintain the client's TCP connection, through a TCP connection to send multiple HTTP request responses, for the client can increase the response time of more than 50%, for the server can reduce the establishment and shutdown of the TCP connection when the resource consumption.
SSC source for sale with Apache optimized configuration