[Info-vax] Apache + mod_php performance

Arne Vajhøj arne at vajhoej.dk
Wed Oct 2 19:56:20 EDT 2024


On 10/2/2024 7:52 PM, Lawrence D'Oliveiro wrote:
> On Wed, 2 Oct 2024 19:07:19 -0400, Arne Vajhøj wrote:
>> On 10/2/2024 5:58 PM, Lawrence D'Oliveiro wrote:
>>> I have a Websocket test somewhere, which I wrote to detect when a
>>> browser closes a window/tab, because the Websocket connection gets
>>> closed at that point. That does work.
>>
>> Eventually they do.
> 
> For WebSockets, it happens immediately.
> 
>> But it takes a long time. Way longer than the server side keep alive
>> timeout.
> 
> OK, this I think I understand: not that the browser never (cleanly) closes
> the HTTP/HTTPS connection, but that it takes its time doing so, in the
> hope it can use it again.

They typical don't close the windows immediately.

Server side keep alive timeout in Apache is 15 seconds.

If the reader are done reading the page in less than 15 seconds
then there is a problem with the content.

:-)

Arne



More information about the Info-vax mailing list