1. apache内置model:mod_php, mod_perl, and mod_python会使通用连接非常大,处理静态内容时资源浪费
使用lighttpd and nginx处理静态内容
使用cache proxy server:Squid Varnish,ESI(Edge side include)
长距离连接不要使用Keep-Alive,使用代理
2. cache
被动cache:得到relust或miss,例如memcache
主动cache:会将request转发到应用的其他部分
转载于:https://blog.51cto.com/yingtju/773425