How to make my website faster?

Discussion in 'Site & Server Administration' started by mohdsoft, Apr 7, 2006.

  1. #1
    Hi,

    I wonder how google have such a very fast website. How can i make my website faster. I make my own scripts. But sometimes they take sometime to load.

    does google use PHP or something else?

    What are the factors that make my website faster?
     
    mohdsoft, Apr 7, 2006 IP
  2. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Get a better host, google has thousands of servers to balance the load. If you are on a $50 per year host with hundred of other sites you won't get much performance.

    Make sure your scripts are efficient. Use the minimum amount of queries to your database and maybe index some results depending on your application.

    Optimise your images and html code to reduce the page sizes.
     
    mad4, Apr 7, 2006 IP
  3. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
    #3
    they use python
     
    iatbm, Apr 7, 2006 IP
  4. mohdsoft

    mohdsoft Peon

    Messages:
    404
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the reply.

    mad4: What do you mean by indexing the pages?

    iatbm: Is it better than PHP? easer to learn?
     
    mohdsoft, Apr 7, 2006 IP
  5. iatbm

    iatbm Prominent Member

    Messages:
    5,151
    Likes Received:
    352
    Best Answers:
    0
    Trophy Points:
    360
    #5
    iatbm, Apr 7, 2006 IP
  6. mohdsoft

    mohdsoft Peon

    Messages:
    404
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks a lot. Any other factors affecting the speed of the website?
     
    mohdsoft, Apr 7, 2006 IP
  7. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #7
    This forum runs on php (check out some stats) so you are fine with php for large scale applications.

    My comment about indexing was that if you have a large database (> millions of records) then you need to use MySQL indexing to speed up the queries.

    What does your site actually do?
     
    mad4, Apr 7, 2006 IP
  8. mohdsoft

    mohdsoft Peon

    Messages:
    404
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #8
    The website i am talking about is a small books library.
     
    mohdsoft, Apr 7, 2006 IP
  9. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Do you have any large databases or images?

    Can you post a url?
     
    mad4, Apr 7, 2006 IP
  10. hdpinn

    hdpinn Peon

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Check $GLOBALS to see that you're not loading it up with a bunch of stuff you don't need with inefficient queries or inefficient means about achieving a goal.
     
    hdpinn, Apr 7, 2006 IP
  11. mohdsoft

    mohdsoft Peon

    Messages:
    404
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #11
    mad4: the website has a small database but about 1500 unique visitors.
    If i put images inside the database will that affect it?
    hdpinn: will do.

    Thank you all
     
    mohdsoft, Apr 7, 2006 IP
  12. ramprage

    ramprage Guest

    Messages:
    204
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Optimize all your content pages to the smallest size possible. Google uses virtually no images on their site to increase loading times. For PHP intense sites you can use Turck MMCache to increase performance on the entire server without changing your PHP code. Further server optimization can be done to get maximum output from your hardware but all this takes some time and know-how :)
     
    ramprage, Apr 8, 2006 IP
  13. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #13
    You don't have a huge amount of traffic so I would say the problem might lie with your host.

    Are there any specific pages that are slow? If they are fast sometimes and slow other times then its not your scripts that are the problem.
     
    mad4, Apr 8, 2006 IP
  14. mohdsoft

    mohdsoft Peon

    Messages:
    404
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Hi,
    ramprage : Thanks for the advice. I will try to reduce the images in my website.

    mad4: yes, sometimes the page load very fast and sometimes it loads very very slow. I will contact the hosting and see what will they say. Thanks for your help.
     
    mohdsoft, Apr 8, 2006 IP
  15. lightlid

    lightlid Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    minimize image or flash.
     
    lightlid, Jul 30, 2010 IP
  16. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #16
    Google Page Speed addon for Firefox can tell you what you can improve.

    Google for it, install it, use it and fix everything that is possible in the suggested list from this addon.
     
    CSM, Sep 3, 2010 IP
  17. raffo77

    raffo77 Active Member

    Messages:
    234
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #17
    Google and other big sites have clustering servers and have CND in world wide, so every one can browse fast the site by the CDN
     
    raffo77, Oct 13, 2010 IP