1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The speed of your website , how to optimise it ?

Discussion in 'Blogging' started by samlim, Aug 15, 2011.

  1. samlim

    samlim Junior Member

    Joined:
    Jun 7, 2011
    Messages:
    153
    Likes Received:
    15
    how to find out who is the main culprit for slow loading website ??

    Is it my structure of website ? or the server that is slow ?
     
  2. ``Yousef

    ``Yousef Power Member

    Joined:
    Oct 16, 2009
    Messages:
    534
    Likes Received:
    287
    Location:
    Cooking up the medicine.
    Home Page:
    Most likely the structure of your website. Run a query on your site using Google Page Speed, and it'll return a score out of 100 as well as advice on how to improve your page speed.
     
    • Thanks Thanks x 1
  3. samlim

    samlim Junior Member

    Joined:
    Jun 7, 2011
    Messages:
    153
    Likes Received:
    15
    i used google page speed to check for two of my website

    1 is 77 <-- this is the website that is slow for me
    the other is 92 <--- the score is 92 but i know it load slow too when i ask my friends to test it

    could it be a server problem ?

    I used Slider in 2 of my website, does google page speed takes into account of that? thanks
     
  4. ronywilliam

    ronywilliam Senior Member

    Joined:
    Jan 20, 2011
    Messages:
    1,150
    Likes Received:
    431
    google page speed + a CDN....

    You should also cashe everything. If you use wordpress there are some really nice plugins to do this. They even upload everything to your CDN account.

    All our scripts/images are on CDN and the loading time is a lot less on our site because of this.. Also the server load becomes a lot less because the number of requests to the server goes down drastically and you can have a lot more traffic to your site ;)

    Hope that helps! :)
     
  5. Grandslam

    Grandslam Senior Member

    Joined:
    Apr 23, 2009
    Messages:
    966
    Likes Received:
    313
    Hire a (good) programmer to take a look at it. You'd be surprised what can improve your page speed.

    Good luck!
     
  6. imbalance

    imbalance Newbie

    Joined:
    Aug 11, 2011
    Messages:
    10
    Likes Received:
    0
    CDN+good server+better framework and less plugin.. that will somehow improve your site's speed.
     
  7. synfig

    synfig Regular Member

    Joined:
    Mar 24, 2011
    Messages:
    230
    Likes Received:
    186
    1. Less images
    2. Less HTTP requests (avoid social buttons and use them only if they're working for you)
    3. CDN like cloudflare( google also has their own service but don't give too much data like this).
    4. Cache plugin
     
  8. bloomtools

    bloomtools Registered Member

    Joined:
    Aug 2, 2011
    Messages:
    68
    Likes Received:
    3
    To improve your website speed keep certain things in mind like 1) Get a fast and loaded web server, 2) Know when to use GIF, JPG, PNG files, 3) Use XHTML - No Tables, 4) Use CSS smartly and compressly.
     
  9. nandos

    nandos Junior Member

    Joined:
    Aug 5, 2010
    Messages:
    143
    Likes Received:
    19
    This is the best advise you'll probably get.

    The amount of tips and tricks programmers know to improve websites will surprise you.

    It will obviously cost you but in the long run it'll be worth it.

     
  10. judson

    judson Power Member

    Joined:
    Nov 29, 2009
    Messages:
    530
    Likes Received:
    319
    Occupation:
    Fulltime Newbie IM
    Location:
    Sub Ubi
    I hate to say this but most of the responses you are getting here, and that you will get, are just too generic to be helpful.

    There are so many things that can affect the speed of your site, that it is difficult to give advice in the abstract. You have to come up with a solution that is very individual in each instance.

    Here are a few things off the top of my head.

    Server speed
    But then, this could be because of CPU, RAM and indeed disk IO. It just depends on your server. Different sites have different requirements.

    Server components
    It depends what site you are running, and how you have everything set up. It could be because of your web server config (Apache?). It could be because of the Database (MySQL?). It could even be because you have too much memory allocated for PHP, or maybe not enough. For webserver and DB, there are numerous factors that could be affecting each, including everything from 'Server Speed' above.

    Bandwidth
    If you DB is on a different machine (many hosts have this), it could be issues between the DB and the webserver. You might also have problems with throttled pipes ... i.e. there is a difference between a 10Meg/s and a 1Gig/s pipe. I will also throw in latency here. You might have issues if your servers are in the middle of nowhere, compared to your site visitors. CDN might help. It might also be the problem ... see below

    Site structure
    How big are you images. How big are your HTML, CSS and JS files. How many individual files are loaded for each page? Are these files being called by the browser in the most optimum way? Javascript in particular, can make an otherwise fast site load slowly.If each page is calling 10 different files from 10 different locations (like overuse of CDNs), you might have a problem. Every DNS lookup causes latency.

    Caching and Sessions
    How much caching are you doing? Are you only maintaining sessions for only the key components. Most caching solutions will not help where each individual visitor is being served a custom page based on their sessions. Depending on your needs, you might want to cache both the web server *and/or* the database queries. The two are very different.

    Temporal
    Is your site slow all the time, or just at specific times? Is this because of the server load? Bandwidth issues at certain times? Other sites on the same server that might be running Cron jobs or be excessively busy only at specific times of the day? Was your site recently Dugg ... i.e. is ther server load abnormal? Has the site always been slow, or is it just a recent thing. What has changed?

    CMS specific ... plugins+templates/themes
    Some themes are faster than others. Ditto for some plugins. Some plugins are fine when used alone, but nasty when used in combination with others. Have you made any changes, updated any plugins, updated the CMS or even just updated the server software?

    The list above is only about 10% of what might affect your site speed. If you want to speed up your site, you have to know what the specific cases are. You have to look at the server logs. Look at your resource meters. Find where the bottleneck is, and fix that.Don't forget to watch out for Log Files that grow to ridiculous sizes? Do you have automatic backup running? Do you have any Cron jobs or plugins that have to do more work as the site grows ... an example of this is one of the "Related Articles" plugin in Wordpress. Once you have more than a couple of hundred articles, it really slows down.

    I could go on, but I hope you get the picture. Find out where the problem is, and then fix it. Guessing will not help.
     
    • Thanks Thanks x 4
  11. xdmannet

    xdmannet Newbie

    Joined:
    Aug 17, 2011
    Messages:
    45
    Likes Received:
    3
    Occupation:
    Publisher
    Location:
    Florida
    If your site is wordpress, I heard that there is a plugin that make your site loads faster
     
  12. HostStage

    HostStage Jr. VIP Jr. VIP Premium Member UnGagged Attendee

    Joined:
    May 20, 2010
    Messages:
    1,806
    Likes Received:
    1,745
    Occupation:
    BHW - CEO of Webhosting Company
    Location:
    BWH from France
    Home Page:
    And this plugin is hyper cache ;)
     
  13. iMicroniche

    iMicroniche Newbie

    Joined:
    Aug 10, 2011
    Messages:
    31
    Likes Received:
    5
    If you have a lot of posts and update them daily/weekly then you could try and change your permalink structure to date/postname instead of just postname.
     
  14. VIC SEO

    VIC SEO Elite Member

    Joined:
    Feb 19, 2010
    Messages:
    2,159
    Likes Received:
    365
    Gender:
    Male
    Occupation:
    SEO Specialist
    Location:
    iSynergyMedia
    Home Page:
    There is an option in Google Webmaster Account that tells us that we can check the speed of our site and optimize it. Does anyone have experience on how to do it? I am afraid to experiment lest a screwup should take place.
     
  15. simey69

    simey69 Regular Member

    Joined:
    Mar 27, 2009
    Messages:
    325
    Likes Received:
    1,478
    Location:
    UK
    Hi,

    there's a real easy way to sum up what everyone has said above...
    just run your site through
    Code:
    http://gtmetrix.com
    if it detects wordpress, it will pop a link at the top of the page to another page, where it it guides you through image optimiser plugin installation and cache plugin installation.

    on the main page it will show you possible site issues and suggest solutions.
    There is a Yslow tab too, to identify speed issues.

    it's really great, I found it by accident and have put all my sites through it - not costing me a penny either, just a bit of time to fix things

    Si
     
    • Thanks Thanks x 1
  16. judson

    judson Power Member

    Joined:
    Nov 29, 2009
    Messages:
    530
    Likes Received:
    319
    Occupation:
    Fulltime Newbie IM
    Location:
    Sub Ubi
    Have never used that tool, but the YSlow FireFox plugin is a great way to begin with your site optimisation.