NYCPHP Meetup

[mambo] Re: slow mambo 4.5.2 possible solution

Graham Spice graham at nuthinwerked.com
Sun Apr 24 12:37:44 EDT 2005


 From the Apache documentation 
(http://httpd.apache.org/docs-2.0/mod/core.html#keepalive):

    The Keep-Alive extension to HTTP/1.0 and the persistent connection
    feature of HTTP/1.1 provide long-lived HTTP sessions which allow
    multiple requests to be sent over the same TCP connection. In some
    cases this has been shown to result in an almost 50% speedup in
    latency times for HTML documents with many images. To enable
    Keep-Alive connections, set |KeepAlive On|.

    For HTTP/1.0 clients, Keep-Alive connections will only be used if
    they are specifically requested by a client. In addition, a
    Keep-Alive connection with an HTTP/1.0 client can only be used when
    the length of the content is known in advance. This implies that
    dynamic content such as CGI output, SSI pages, and server-generated
    directory listings will generally not use Keep-Alive connections to
    HTTP/1.0 clients. For HTTP/1.1 clients, persistent connections are
    the default unless otherwise specified. If the client requests it,
    chunked encoding will be used in order to send content of unknown
    length over persistent connections.

Cheers-
Graham Spice

D. Salemink wrote:

>Maybe this is a solution for the slow mambo loading, i spent a few
>days trying to solve this problem.
>First of all i turned of all the mambo admin modules and turned
>caching on, like it tells me in the forums.
>This brought back the loading time from about 4 minutes to 1. After
>this i tried a lot of stuff, optimizing mysql server configuration,
>cleaning all unused files etc with no noticable difference in speed.
>In the end what solved my problem was to turn KeepAlive in httpd.conf
>to on, now the sites and the administration load in seconds.
>I havent yet tried turning the admin modules backon to see if
>keepalive is the main culprit.
>
>Hope it helps a few other people using mambo 4.5.2
>regards,
>D. Salemink
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20050424/4135e9b0/attachment.html>


More information about the Joomla mailing list