Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, on a webserver (apache, mysql, php), which values comes to your mind can have bigges impact on a website load time? we talking about webserver which host like 100 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User postcd's Avatar
    Join Date
    Apr 2011
    Posts
    322

    Which webserver values have biggest impact on website load time?


    Hello,

    on a webserver (apache, mysql, php), which values comes to your mind can have bigges impact on a website load time?

    we talking about webserver which host like 100 websites, mostly a classic wordpress blog.

    I have keep alive turned on. Now i want to do some test playing with various values of apache, php, so if you can give advice on my testing? thx
    "Avoid the Gates of Hell. Use Linux affordable VPS."

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    what about external links (to images, fonts, etc.) embedded in the html? they cause individual http requests which can really jack w/load time. you also want to stay away from dynamically resizing images, and instead pre-generating appropriately sized thumbnails.

    with mysql, i always try to make sure that i am never repeating any queries in a single page load.

    no exp w/php.

  3. #3
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    941
    100 sites on one virtual server? Why not spinup more virtual servers and split the load up.

    There are load generators for apache and mysql you can specify a load run it and monitor what's going on.
    A lion does not lose sleep, over the opinion of sheep.

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,565
    It can vary by site.

    Some Firefox extensions that will help:

    Firebug's "Net" tab will show you an overview of what is taking the longest for a particular page
    HTTPFox will let you get down and dirty with request / responses
    YSlow will score a page against current best performance practices.

    [edit]Apparently there is a version conflict with YSlow at the moment but the bookmarklet works.[/edit]
    [edit2]My bad, I hadn't allowed yslow.org to run JavaScript [/edit2]
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •