Few Tips To Make Your Site Load Faster

Discussion in 'Site & Server Administration' started by glitto, Jul 19, 2009.

  1. #1
    If your site is getting good number of visitors daily, let say 1000+, and you are feeling your site is loading slow then you should make a checklist and see if you have taken the right steps to make your site speed faster.

    These tips are based on my personal experience of hosting my sites for more than 2 years.

    1. Remove Unwanted Codes/Scripts
    We all use different scripts like Google analytics, Quantcast Ranking, Compete and many other scripts to see the traffic and other stats of our site. But I would highly recommend to remove them and use ONLY 1 but reliable traffic analysis script because if for any reason those scripts do not work properly they get stuck and stop your page from loading. User will have no idea what is wrong but he will leave your site because it is not opening fully.

    2. Do Not Host Images On Other Sites
    The same rule applies for the images too. If you have many images on your site and you are hosting them on other free image hosting sites then you should immediately take them back to your own server. Because if the server where images are hosted is not responding then YOUR site will get affected and users will leave your site.

    3. Always Optimize Images For Web
    Even if you are hosting images on your own server you should optimize images for web. By optimizing it is ensured that the image file size is not very big but the least it can be. If you have many images (even on a dedicated server) but they are very big in size they will make the site loading speed slow.

    4. Always Put Scripts In The Footer File
    If for any reason the script does not load properly then it should not affect the whole site from loading, but it should affect only the footer area.

    I hope you find these tips useful :)

    If you want to share your own tips/tricks to make the site speed faster you are most welcome to make a comment below.

    --------------------------
    Original Author: WebmastersGossip

    *Please do not copy the content without author's permission.
     
    glitto, Jul 19, 2009 IP
    gary4gar and thuankkk like this.
  2. CandyCottonLover

    CandyCottonLover Banned

    Messages:
    93
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Another thing you should add (since this is site & server section) is optimize your server/vps. mod_deflate really does help your sitre load faster. If you do have extra cash you can go for litespeed server instead of normal apache.

    Pay attention to your mysql queries. If you have a large database you should optimize your mysql as much as you can.
     
    CandyCottonLover, Jul 20, 2009 IP
    thuankkk likes this.
  3. gary4gar

    gary4gar Peon

    Messages:
    496
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Good Tips, It would certainly help novice webmasters
     
    gary4gar, Jul 20, 2009 IP
  4. thuankkk

    thuankkk Active Member

    Messages:
    503
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    95
    #4
    Try
    zlib.output_compression = On
    Code (markup):
    or
    output_handler = ob_gzhandler
    Code (markup):
    in your php.ini
     
    thuankkk, Jul 20, 2009 IP
  5. pitagora

    pitagora Peon

    Messages:
    247
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #5
    that depends on when you want them to load. There are lots of valid reasons why you may need a script to load before your page does. Nb 4 is not a general rule. If you have a ton of junk scripts only made so your site is "cool" (bs counters, pr, etc) yes. Imho those shouldn't be there anyway. But if for instance you want reliable traffic stats and you have a big page that takes time to load, don't put the script in the footer because users have the habit of clicking links even if the page isn't fully loaded. Your stats may be heavily distorted.

    yes and no. There is a reason why compression isn't on by default. Pages are compressed so you lower the bandwidth requirements but you increase the server load. May be good for you, or bad.... Goes either way.
     
    pitagora, Jul 20, 2009 IP
  6. TheFullMaza

    TheFullMaza Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Control Panel Home/Common Templates/header


    Top


    <META http-equiv=Page-Exit content=BlendTrans(Duration=0)>
    <META http-equiv=Page-Enter content=BlendTrans(Duration=0)>
    Code (markup):


    vBulletin fast Enjoy;)
     
    TheFullMaza, Jul 21, 2009 IP