[Info-vax] Apache + mod_php performance

Dan Cross cross at spitfire.i.gajendra.net
Mon Sep 30 08:50:48 EDT 2024


In article <vdbq08$1pg2p$2 at dont-email.me>,
Arne Vajhøj  <arne at vajhoej.dk> wrote:
>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.

Why do you assume CSS will be cached and graphics will not?
Your understanding of where re-using HTTP connections does not
seem to be drawn from real-world experience.

	- Dan C.



More information about the Info-vax mailing list