[Info-vax] Apache + mod_php performance
Arne Vajhøj
arne at vajhoej.dk
Sun Sep 29 10:59:20 EDT 2024
On 9/27/2024 8:38 PM, Dan Cross wrote:
> In article <vd7hbi$tgu3$2 at dont-email.me>,
> Arne Vajhøj <arne at vajhoej.dk> wrote:
>> And note that keep alive was not needed for me, but it is needed in many
>> other scenarios:
>> - web pages with lots of graphics
>> - high volume server to server web services
>
> Actually, it's useful for any scenario in which you may send
> several requests to the same server at roughly the same time,
> such as an HTML document and separate CSS stylesheet, not just
> graphics or "server to server web services".
There is no difference in how graphics and CSS are handled,
so the benefits of reusing a connection is the same.
But there is a difference in number of requests. CSS will typical
be cached by the browser. So number of CSS requests will be a fraction
of number of HTML requests, while pages with lots of graphics
will have many graphics requests per HTML request.
Arne
More information about the Info-vax
mailing list